diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 15:42:19 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 15:42:19 +0530 |
commit | f0dad6e701cb66301287074c39183c7312139530 (patch) | |
tree | b4a38d8dcc49206fcedae7192e898df1011a6810 /drivers/dma/txx9dmac.c | |
parent | b967aecf1714c10d1e6c045e43b6385884f1ca77 (diff) | |
parent | 7db5f7274a0b065abdc358be2a44b4a911d75707 (diff) | |
download | blackbird-obmc-linux-f0dad6e701cb66301287074c39183c7312139530.tar.gz blackbird-obmc-linux-f0dad6e701cb66301287074c39183c7312139530.zip |
Merge branch 'dma_complete' into next
Diffstat (limited to 'drivers/dma/txx9dmac.c')
-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, enum dma_status ret; ret = dma_cookie_status(chan, cookie, txstate); - if (ret == DMA_SUCCESS) - return DMA_SUCCESS; + if (ret == DMA_COMPLETE) + return DMA_COMPLETE; spin_lock_bh(&dc->lock); txx9dmac_scan_descriptors(dc); |