Re: [PATCH 1/3] ARM: common: edma: clear completion interrupts on stop

2015-04-27 Thread Peter Ujfalusi
On 04/27/2015 02:52 PM, John Ogness wrote: > 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

[PATCH 1/3] ARM: common: edma: clear completion interrupts on stop

2015-04-27 Thread John Ogness
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

[PATCH 1/3] ARM: common: edma: clear completion interrupts on stop

2015-04-27 Thread John Ogness
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

Re: [PATCH 1/3] ARM: common: edma: clear completion interrupts on stop

2015-04-27 Thread Peter Ujfalusi
On 04/27/2015 02:52 PM, John Ogness wrote: 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.