summaryrefslogtreecommitdiff
path: root/drivers/dma/edma.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2015-04-27 11:52:15 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 20:27:01 (GMT)
commitc2d4bb9d9387231f5e265d59600aeb6409be8e7a (patch)
tree48b7137424eda535a60d9e528649e0c7329cdeb5 /drivers/dma/edma.c
parent35a0f950aadcb65e43fc1cbc5790f313737d9148 (diff)
downloadlinux-c2d4bb9d9387231f5e265d59600aeb6409be8e7a.tar.xz
ARM: common: edma: clear completion interrupts on stop
When stopping a DMA transfer with interrupts disabled it is possible that the DMA transfer completes before the events are cleared. In this case the completion interrupt will be pending, causing a completion callback after the transfer was stopped. By clearing the completion interrupt for the stopping channel it is ensured that no completion event will be generated after the stop. Signed-off-by: John Ogness <john.ogness@linutronix.de> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/edma.c')
0 files changed, 0 insertions, 0 deletions