From: Vinod Koul Date: Wed, 16 Oct 2013 08:37:06 +0000 (+0530) Subject: dmaengine: imx-sdma: use DMA_COMPLETE for dma completion status X-Git-Tag: firefly_0821_release~176^2~4916^2~22^2~18 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=409bff6a0f46f7f49491d0bb61781487cb2b2f2c;p=firefly-linux-kernel-4.4.55.git dmaengine: imx-sdma: use DMA_COMPLETE for dma completion status Acked-by: Dan Williams Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index fc43603cf0bb..0e03b3146b32 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -638,7 +638,7 @@ static void mxc_sdma_handle_channel_normal(struct sdma_channel *sdmac) if (error) sdmac->status = DMA_ERROR; else - sdmac->status = DMA_SUCCESS; + sdmac->status = DMA_COMPLETE; dma_cookie_complete(&sdmac->desc); if (sdmac->desc.callback)