summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-dw.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-03-09 15:48:47 +0100
committerMark Brown <broonie@kernel.org>2015-03-09 19:11:13 +0100
commitf051fc8f117d95baaa3654d40e779c56c2c6d180 (patch)
tree2a498e6522720261b2bce4adbbd045e23ca8cd8c /drivers/spi/spi-dw.c
parentspi: dw-mid: split dma_setup() from dma_transfer() (diff)
downloadlinux-f051fc8f117d95baaa3654d40e779c56c2c6d180.tar.xz
linux-f051fc8f117d95baaa3654d40e779c56c2c6d180.zip
spi: dw-mid: take care of FIFO overrun/underrun when do DMA
In according to documentation SPI in DMA mode may encounter underrun/overrun failures in rare cases. When such failure occurs, an error recovery protocol is expected to be implemented in the device driver so that the failed transaction can be restarted. This patch enables FIFO overrun / underrun interrupts in DMA case and adds a handler for that. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
0 files changed, 0 insertions, 0 deletions