summaryrefslogtreecommitdiff
path: root/drivers/dma/edma.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-10-16 12:12:15 +0400
committerVinod Koul <vinod.koul@intel.com>2013-10-25 09:46:01 +0400
commit9d386ec590a9455733d6fad3e4d1a4b2babc490c (patch)
tree40dd8172ecc77a6c357545a2a91efdb3270b7575 /drivers/dma/edma.c
parent2c40410b87bfd428d65490fbd26d8260f94392b4 (diff)
downloadlinux-9d386ec590a9455733d6fad3e4d1a4b2babc490c.tar.xz
dmaengine: edma: use DMA_COMPLETE for dma completion status
Tested-by: Joel Fernandes <joelf@ti.com> 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/edma.c')
-rw-r--r--drivers/dma/edma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 098a8da450f0..29fa35807f09 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -576,7 +576,7 @@ static enum dma_status edma_tx_status(struct dma_chan *chan,
unsigned long flags;
ret = dma_cookie_status(chan, cookie, txstate);
- if (ret == DMA_SUCCESS || !txstate)
+ if (ret == DMA_COMPLETE || !txstate)
return ret;
spin_lock_irqsave(&echan->vchan.lock, flags);