summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 17:33:47 +0200
committerVinod Koul <vinod.koul@intel.com>2013-10-25 07:46:13 +0200
commitfdebb7681caaa5f16aaa2efa29e3931fb01b9e80 (patch)
treed08e9c6f2e4f1a2e5deb5c258a6c30441c5cf4af /drivers/dma
parentdmaengine: ppc4xx: use DMA_COMPLETE for dma completion status (diff)
downloadlinux-fdebb7681caaa5f16aaa2efa29e3931fb01b9e80.tar.xz
linux-fdebb7681caaa5f16aaa2efa29e3931fb01b9e80.zip
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')
-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)