diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 20:51:54 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 11:16:11 +0530 |
commit | 7cce5083b738e3e693abe082d9958686bcb88d32 (patch) | |
tree | 08bba3aecddc4e917e266ccf0ad14a3227ae2fdb /drivers/dma/omap-dma.c | |
parent | 2737583ea068b8e56f9d34b73a5860dc25227a73 (diff) | |
download | linux-7cce5083b738e3e693abe082d9958686bcb88d32.tar.gz linux-7cce5083b738e3e693abe082d9958686bcb88d32.tar.bz2 linux-7cce5083b738e3e693abe082d9958686bcb88d32.zip |
dmaengine: omap: 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/omap-dma.c')
-rw-r--r-- | drivers/dma/omap-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index ec3fc4fd9160..2f66cf4e54fe 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c @@ -248,7 +248,7 @@ static enum dma_status omap_dma_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(&c->vc.lock, flags); |