summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 08:37:06 (GMT)
committerVinod Koul <vinod.koul@intel.com>2013-10-25 05:46:03 (GMT)
commit409bff6a0f46f7f49491d0bb61781487cb2b2f2c (patch)
tree80c75f2ebc1338acd78ebf851c6db0a03fab73bf /drivers/dma
parent3ded1ad14fe5cdb190e9b30a95a859d21ebd9e65 (diff)
downloadlinux-fsl-qoriq-409bff6a0f46f7f49491d0bb61781487cb2b2f2c.tar.xz
dmaengine: imx-sdma: use DMA_COMPLETE for dma completion status
Acked-by: Dan Williams <dan.j.williams@intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/imx-sdma.c2
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)