[PATCH v2] mmc mxcmmc: fix falling back to PIO
From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-08-25 09:39:05
Also in:
linux-mmc
From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2011-08-25 09:39:05
Also in:
linux-mmc
On Thu, Aug 25, 2011 at 11:33:05AM +0200, Sascha Hauer wrote:
When we can't configure the dma channel we want to fall back to PIO. We do this by setting host->do_dma to zero. This does not work as do_dma is used to see whether dma can be used for the current transfer. Instead, we have to set host->dma to NULL.
Argh. Still wrong. I stop sending patches for today. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |