omap: DMA: clear interrupt status correctly
authorAdrian Hunter <adrian.hunter@nokia.com>
Wed, 24 Nov 2010 11:23:21 +0000 (13:23 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 19 Jan 2011 22:41:21 +0000 (14:41 -0800)
commit4fb699b408b559107f1e1b47d176d33361446b69
treed9143f8d15980a77df872d2c5c564bdc58885e13
parent35a78fa48678926464138aab3a4dede4503befb5
omap: DMA: clear interrupt status correctly

When clearing the DMA channel, clear all status bits.

When handling a DMA interrupt, clear only the interrupt
status bits that have been read and are passed to the
channel's interrupt handler, not every status bit.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: G, Manjunath Kondaiah <manjugk@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c