From: Vinod Koul Date: Wed, 16 Oct 2013 08:04:35 +0000 (+0530) Subject: dmaengine: at_hdma: use DMA_COMPLETE for dma completion status X-Git-Tag: upstream/snapshot3+hdmi~3918^2~22^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d203d1e0af17c33954d3800397f32d86ff8d3cf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git dmaengine: at_hdma: use DMA_COMPLETE for dma completion status Acked-by: Dan Williams Acked-by: Linus Walleij Acked-by: Nicolas Ferre Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c787f38..1ef7457 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -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