]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/dma/edma.c
Merge branch 'dma_complete' into next
[karo-tx-linux.git] / drivers / dma / edma.c
index ddcb69b1ea64d2f641be590ee282b2f79d468f05..748891f7ced53627d12efc9d44af406e56f2c144 100644 (file)
@@ -637,7 +637,7 @@ static enum dma_status edma_tx_status(struct dma_chan *chan,
        unsigned long flags;
 
        ret = dma_cookie_status(chan, cookie, txstate);
-       if (ret == DMA_SUCCESS || !txstate)
+       if (ret == DMA_COMPLETE || !txstate)
                return ret;
 
        spin_lock_irqsave(&echan->vchan.lock, flags);