]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commitb8c830feb67138712fda06bc724199476f4b4a10
tree66c9755eb87ac0b3e7ca2c7910e75bc9244d571c
parentced3d92e9fe30bddecb16b4e72d27252a0bd4367
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 [changed mode: 0644->0755]