Skip to content
Snippets Groups Projects
Commit ac9bd0ef authored by Yanchang Li's avatar Yanchang Li Committed by Vinod Koul
Browse files

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: default avatarYanchang Li <Yanchang.Li@csr.com>
Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent df48f3ff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment