From mboxrd@z Thu Jan 1 00:00:00 1970 From: cjb@laptop.org (Chris Ball) Date: Sun, 20 Feb 2011 19:31:36 +0000 Subject: [PATCH v2] mxcmmc: use dmaengine API In-Reply-To: <201102181437.02943.arnd@arndb.de> References: <20110218092109.GG24426@pengutronix.de> <201102181437.02943.arnd@arndb.de> Message-ID: <20110220193136.GA13266@void.printf.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > 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 I've pushed this to mmc-next now, but please do reply to Arnd's Kconfig question. Thanks, -- Chris Ball One Laptop Per Child