From 1b7247a5645026fb01b4d689357132792752c35e Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Aguiar Date: Sat, 24 Nov 2007 18:29:43 -0400 Subject: [PATCH] OMAP: DMA: Attribution necessary only if the ch is not chained. Attribution necessary only if the ch is not chained on arch/arm/plat-omap/dma.c Signed-off-by: Carlos Eduardo Aguiar Signed-off-by: Ragner Magalhaes Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index dd0c8745c4d..a3c5d4fe8e1 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) -- 2.41.1