Messages in this thread | | | From | "Philip, Avinash" <> | Subject | RE: [PATCH] spi: omap2-mcspi: In case of dma errors fall back to pio | Date | Wed, 8 Aug 2012 14:39:11 +0000 |
| |
On Wed, Jul 25, 2012 at 11:50:29, Datta, Shubhrajyoti wrote: > In case there are dma errors currently the driver exits. > Make the spi driver fall back to pio mode in case of dma errors. > > If the DMA engine is not selected the driver > exits.This patch makes the spi fall back to pio in that case. > > Also adds a field dma_unusable to struct omap2_mcspi. > > Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
I have tested this patch for SPI PIO mode on AM335x EVM.
Acked-by: Philip, Avinash <avinashphilip@ti.com>
| |