commit | ac9bd0ef5d3eefe9a21a7df6819937e3aa265203 | [log] [tgz] |
---|---|---|
author | Yanchang Li <yl22@csr.com> | Mon Jul 27 05:50:21 2015 +0000 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Aug 18 22:13:59 2015 +0530 |
tree | 261e88c267b04b430f904babda03e9e79e533288 | |
parent | df48f3ff95c432cc3469e0df67da76ffcf2237af [diff] |
dmaengine: sirf: clear pending DMA interrupt when DMA terminates If DMA interrupt comes and is latched by IRQ controller during the execution of dma_terminate_all(), dma_irq routine will be executed after dma terminated, and it will cause kernel panic. We clear DMA interrupts in dma_terminate_all() to avoid this useless interrupt. Signed-off-by: Yanchang Li <Yanchang.Li@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>