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

From: Vinod Koul
Date: Wed Oct 16 2013 - 13:22:59 EST


Signed-off-by: Vinod Koul <vinod.koul@xxxxxxxxx>
CC: Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/