]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP: Fix race in OMAP2/3 DMA IRQ handling
authorJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 29 Jan 2009 16:57:12 +0000 (08:57 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Jan 2009 16:57:12 +0000 (08:57 -0800)
commit320ce6f6fb3d95e02a183709e51d8a16a8b00e0a
treec38b7f28be57747791e2c91a11ad87c8b2428550
parent06151158f2da4764479b4ec01688dc4bade6ce9d
ARM: OMAP: Fix race in OMAP2/3 DMA IRQ handling

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>
arch/arm/plat-omap/dma.c