]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/dma/ppc4xx/adma.c
Merge commit 'dmaengine-3.13-v2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-beck.git] / drivers / dma / ppc4xx / adma.c
index 429be432ab7e34d0fca2b3780e1d7771e8cc0813..3005938ba47ac682bf68b5ea64e9a0d57dd27991 100644 (file)
@@ -3623,7 +3623,7 @@ static enum dma_status ppc440spe_adma_tx_status(struct dma_chan *chan,
 
        ppc440spe_chan = to_ppc440spe_adma_chan(chan);
        ret = dma_cookie_status(chan, cookie, txstate);
-       if (ret == DMA_SUCCESS)
+       if (ret == DMA_COMPLETE)
                return ret;
 
        ppc440spe_adma_slot_cleanup(ppc440spe_chan);