]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/dma/at_hdmac.c
Merge branch 'dma_complete' into next
[karo-tx-linux.git] / drivers / dma / at_hdmac.c
index c787f38a186a008a6cf8fa4af1dc9d19cab8f836..1ef74579447d5c0cc201cab4425748be75368eef 100644 (file)
@@ -1102,7 +1102,7 @@ atc_tx_status(struct dma_chan *chan,
        int bytes = 0;
 
        ret = dma_cookie_status(chan, cookie, txstate);
-       if (ret == DMA_SUCCESS)
+       if (ret == DMA_COMPLETE)
                return ret;
        /*
         * There's no point calculating the residue if there's