[PATCH] ARM: MXC: mxcmmc: Teach the driver SDIO operations
Daniel Mack
daniel at caiaq.de
Thu Apr 1 04:02:23 EDT 2010
On Wed, Mar 31, 2010 at 07:34:14PM +0200, Michał Mirosław wrote:
> 2010/3/31 Daniel Mack <daniel at caiaq.de>:
> > Successfully tested on MX31 hardware using libertas SDIO peripherals.
> >
> > Signed-off-by: Daniel Mack <daniel at caiaq.de>
> > Cc: Sascha Hauer <s.hauer at pengutronix.de>
> > Cc: Dan Williams <dan.j.williams at intel.com>
> > Cc: Volker Ernst <volker.ernst at txtr.com>
> > Cc: Jiri Kosina <jkosina at suse.cz>
> > ---
> > drivers/mmc/host/mxcmmc.c | 62 +++++++++++++++++++++++++++++++++++++-------
> > 1 files changed, 52 insertions(+), 10 deletions(-)
> >
> > diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c
> > index 44a53ee..f91a2c3 100644
> > --- a/drivers/mmc/host/mxcmmc.c
> > +++ b/drivers/mmc/host/mxcmmc.c
> > @@ -119,6 +119,7 @@ struct mxcmci_host {
> > int detect_irq;
> > int dma;
> > int do_dma;
> > + int use_sdio;
> > unsigned int power_mode;
> > struct imxmmc_platform_data *pdata;
> >
>
> This field should be protected by the same spinlock as it is used to
> set the reg's value.
Ok - I'll repost all three patches.
Again, thanks for your review.
Daniel
More information about the linux-arm-kernel
mailing list