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: next-20131025~67^2^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=409bff6a0f46;p=karo-tx-linux.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)