summaryrefslogtreecommitdiff
path: root/drivers/dma/sa11x0-dma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 19:33:47 +0400
committerVinod Koul <vinod.koul@intel.com>2013-10-25 09:46:13 +0400
commitfdebb7681caaa5f16aaa2efa29e3931fb01b9e80 (patch)
treed08e9c6f2e4f1a2e5deb5c258a6c30441c5cf4af /drivers/dma/sa11x0-dma.c
parent5738992b078140267f6637f9f929ec7581f6213e (diff)
downloadlinux-fdebb7681caaa5f16aaa2efa29e3931fb01b9e80.tar.xz
dmaengine: sa11x0: 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/sa11x0-dma.c')
-rw-r--r--drivers/dma/sa11x0-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c
index 461a91ab70bb..ab26d46bbe15 100644
--- a/drivers/dma/sa11x0-dma.c
+++ b/drivers/dma/sa11x0-dma.c
@@ -436,7 +436,7 @@ static enum dma_status sa11x0_dma_tx_status(struct dma_chan *chan,
enum dma_status ret;
ret = dma_cookie_status(&c->vc.chan, cookie, state);
- if (ret == DMA_SUCCESS)
+ if (ret == DMA_COMPLETE)
return ret;
if (!state)