diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-16 11:35:16 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-25 01:46:17 -0400 |
commit | 8f1fd11489836dd2e6741a6e7e905b36b71cfa5f (patch) | |
tree | f8d4cf308949ac64d257be547f5479be118a46f7 | |
parent | 00d696f5291a6c749511b0f3c884c5f6d00f7339 (diff) |
dmaengine: txx9: 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>
-rw-r--r-- | drivers/dma/txx9dmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/txx9dmac.c b/drivers/dma/txx9dmac.c index 71e8e775189e..c2829b481bf2 100644 --- a/drivers/dma/txx9dmac.c +++ b/drivers/dma/txx9dmac.c | |||
@@ -962,8 +962,8 @@ txx9dmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie, | |||
962 | enum dma_status ret; | 962 | enum dma_status ret; |
963 | 963 | ||
964 | ret = dma_cookie_status(chan, cookie, txstate); | 964 | ret = dma_cookie_status(chan, cookie, txstate); |
965 | if (ret == DMA_SUCCESS) | 965 | if (ret == DMA_COMPLETE) |
966 | return DMA_SUCCESS; | 966 | return DMA_COMPLETE; |
967 | 967 | ||
968 | spin_lock_bh(&dc->lock); | 968 | spin_lock_bh(&dc->lock); |
969 | txx9dmac_scan_descriptors(dc); | 969 | txx9dmac_scan_descriptors(dc); |