diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 13:42:15 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:16:01 +0530 |
commit | 9d386ec590a9455733d6fad3e4d1a4b2babc490c (patch) | |
tree | 40dd8172ecc77a6c357545a2a91efdb3270b7575 /drivers/dma/edma.c | |
parent | 2c40410b87bfd428d65490fbd26d8260f94392b4 (diff) | |
download | talos-op-linux-9d386ec590a9455733d6fad3e4d1a4b2babc490c.tar.gz talos-op-linux-9d386ec590a9455733d6fad3e4d1a4b2babc490c.zip |
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.c | 2 |
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); |