OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00d696f
)
dmaengine: txx9: use DMA_COMPLETE for dma completion status
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 16 Oct 2013 15:35:16 +0000
(21:05 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 25 Oct 2013 05:46:17 +0000
(11:16 +0530)
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>
drivers/dma/txx9dmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/txx9dmac.c
b/drivers/dma/txx9dmac.c
index
71e8e77
..
c2829b4
100644
(file)
--- 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);