]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/dma/at_hdmac.c
Merge commit 'dmaengine-3.13-v2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-beck.git] / drivers / dma / at_hdmac.c
index 6deaefbec0b0c1a1acc6faefc4fc3812311df096..e2c04dc81e2a903ea13956e872150c40ed8b00e8 100644 (file)
@@ -1078,7 +1078,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