dmaengine: axi-dmac: Return IRQ_NONE if no IRQs are pending
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 1 Jul 2016 15:45:58 +0000 (17:45 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 1 Jul 2016 17:26:41 +0000 (22:56 +0530)
commit71831f652968f05270ace83a0bfd607bfed20760
tree7d47c528405f2714ef630a41ee16a46f2bd745cf
parent50dc60a25597e10a731c8a0813cb3e88db345f54
dmaengine: axi-dmac: Return IRQ_NONE if no IRQs are pending

Return IRQ_NONE in the interrupt handler when it is called but no IRQs are
pending. This allows the system to recover in case of an interrupt storm
e.g. due to a wrong interrupt configuration setup.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-axi-dmac.c