[PATCH v2] mxcmmc: use dmaengine API
Chris Ball
cjb at laptop.org
Sun Feb 20 14:31:36 EST 2011
Hi Sascha,
On Fri, Feb 18, 2011 at 02:37:02PM +0100, Arnd Bergmann wrote:
> On Friday 18 February 2011, Sascha Hauer wrote:
> > This switches the mxcmmc driver to use the dmaengine API. Unlike
> > the old one this one is always present in the tree, even if no DMA
> > is implemented, hence we can remove all the #ifdefs in from the driver.
> > The driver automatically switches to PIO mode if no DMA support or no
> > suitable channel is available.
> >
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
>
> The patch looks good to me, but shouldn't you also add a Kconfig
> dependency or select on CONFIG_DMA_ENGINE? I don't see where that
> gets set.
>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
I've pushed this to mmc-next now, but please do reply to Arnd's Kconfig
question.
Thanks,
--
Chris Ball <cjb at laptop.org> <http://printf.net/>
One Laptop Per Child
More information about the linux-arm-kernel
mailing list