From: Carlos Eduardo Aguiar Date: Sat, 24 Nov 2007 22:29:43 +0000 (-0400) Subject: OMAP: DMA: Attribution necessary only if the ch is not chained. X-Git-Tag: v2.6.24-omap1~171 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b7247a5645026fb01b4d689357132792752c35e;p=linux-2.6-omap-h63xx.git 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 --- 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)