ARM OMAP: Fix race in OMAP2/3 DMA IRQ handling
authorJuha Yrjölä <juha.yrjola@solidboot.com>
Wed, 21 Jan 2009 17:24:09 +0000 (19:24 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Jan 2009 01:20:49 +0000 (17:20 -0800)
CSR must be cleared before invoking the callback.

If the callback function starts a new, fast DMA transfer on the same
channel, the completion status might lost if CSR is cleared after
the callback invocation.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found