diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 14:07:06 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:16:03 +0530 |
commit | 409bff6a0f46f7f49491d0bb61781487cb2b2f2c (patch) | |
tree | 80c75f2ebc1338acd78ebf851c6db0a03fab73bf /drivers/dma/imx-sdma.c | |
parent | 3ded1ad14fe5cdb190e9b30a95a859d21ebd9e65 (diff) | |
download | linux-rpi3-409bff6a0f46f7f49491d0bb61781487cb2b2f2c.tar.gz linux-rpi3-409bff6a0f46f7f49491d0bb61781487cb2b2f2c.tar.bz2 linux-rpi3-409bff6a0f46f7f49491d0bb61781487cb2b2f2c.zip |
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/imx-sdma.c')
-rw-r--r-- | 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 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) |