[PATCH 11/28] dmaengine: imx-sdma: use DMA_COMPLETE for dma completion status

Vinod Koul vinod.koul at intel.com
Wed Oct 16 12:28:29 EDT 2013


Signed-off-by: Vinod Koul <vinod.koul at intel.com>
CC: Acked-by: Shawn Guo <shawn.guo at linaro.org>
---
 drivers/dma/imx-sdma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index fc43603..0e03b31 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)
-- 
1.7.0.4




More information about the linux-arm-kernel mailing list