From 45c630dfe7625329271181dd1a639872e0e72a39 Mon Sep 17 00:00:00 2001 From: Mathias Nyman Date: Mon, 25 Oct 2010 14:35:24 +0000 Subject: [PATCH] --- yaml --- r: 222145 b: refs/heads/master c: e860e6da96f5a320a752da232e03d7bf885710b7 h: refs/heads/master i: 222143: 2aec1e2c6cb6ffe819c8c44309471c44b5cde50b v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-omap/dma.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9a647edd1ccf..3a7ca762f80c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b7283945c5ed8e78f0fe2c3313d8d1cdbc19b4b3 +refs/heads/master: e860e6da96f5a320a752da232e03d7bf885710b7 diff --git a/trunk/arch/arm/plat-omap/dma.c b/trunk/arch/arm/plat-omap/dma.c index f5c5b8da9a87..2c2826571d45 100644 --- a/trunk/arch/arm/plat-omap/dma.c +++ b/trunk/arch/arm/plat-omap/dma.c @@ -1983,6 +1983,8 @@ static int omap2_dma_handle_ch(int ch) dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR(ch)); dma_write(1 << ch, IRQSTATUS_L0); + /* read back the register to flush the write */ + dma_read(IRQSTATUS_L0); /* If the ch is not chained then chain_id will be -1 */ if (dma_chan[ch].chain_id != -1) {