Re: [PATCH] mmc: tmio_mmc: fix PIO fallback on DMA descriptor allocation failure

2011-01-05 Thread Chris Ball
Hi Guennadi, On Thu, Nov 11, 2010 at 12:19:47PM +0100, Guennadi Liakhovetski wrote: > The easiest way to fall back to PIO, when a DMA descriptor allocation fails is > to disable DMA on the controller but continue with the current request in PIO > mode. This way tmio_mmc_start_dma() can become void

[PATCH] mmc: tmio_mmc: fix PIO fallback on DMA descriptor allocation failure

2010-11-11 Thread Guennadi Liakhovetski
The easiest way to fall back to PIO, when a DMA descriptor allocation fails is to disable DMA on the controller but continue with the current request in PIO mode. This way tmio_mmc_start_dma() can become void, since it cannot be failing any more. The current version is also broken: it is testing a