]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: DMA: Attribution necessary only if the ch is not chained.
authorCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Sat, 24 Nov 2007 22:29:43 +0000 (18:29 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 28 Nov 2007 01:04:19 +0000 (17:04 -0800)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c

index dd0c8745c4d00d2e01f450d04e5d0c03f125ea3a..a3c5d4fe8e1e0e1b46730392a023276c796624f0 100644 (file)
@@ -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)