public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] OMAP: DMA: Attribution necessary only if the ch is not chained.
@ 2007-11-24 22:29 Carlos Aguiar
  2007-11-28  2:20 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Aguiar @ 2007-11-24 22:29 UTC (permalink / raw)
  To: omap-linux

From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>

Attribution necessary only if the ch is not chained on arch/arm/plat-omap/dma.c

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
---
 arch/arm/plat-omap/dma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index dd0c874..a3c5d4f 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -1709,9 +1709,9 @@ static int omap2_dma_handle_ch(int ch)
 
 		if (!OMAP_DMA_CHAIN_QEMPTY(chain_id))
 			OMAP_DMA_CHAIN_INCQHEAD(chain_id);
-	}
 
-	status = OMAP_DMA_CSR_REG(ch);
+		status = OMAP_DMA_CSR_REG(ch);
+	}
 
 	if (likely(dma_chan[ch].callback != NULL)) {
 		if (dma_chan[ch].chain_id != -1)
-- 1.5.3.GIT

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-28  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-24 22:29 [PATCH 1/1] OMAP: DMA: Attribution necessary only if the ch is not chained Carlos Aguiar
2007-11-28  2:20 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox