projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adfedd9
)
dmaengine: amba-pl08x: use DMA_COMPLETE for dma completion status
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 16 Oct 2013 08:03:02 +0000
(13:33 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 25 Oct 2013 05:45:54 +0000
(11:15 +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/amba-pl08x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/amba-pl08x.c
b/drivers/dma/amba-pl08x.c
index 9b5025777ac8dab6fd88eea75b65181a08a05ea6..4ee6533108f6265f792cd501b431ce140c040f7e 100644
(file)
--- a/
drivers/dma/amba-pl08x.c
+++ b/
drivers/dma/amba-pl08x.c
@@
-1252,7
+1252,7
@@
static enum dma_status pl08x_dma_tx_status(struct dma_chan *chan,
size_t bytes = 0;
ret = dma_cookie_status(chan, cookie, txstate);
- if (ret == DMA_
SUCCESS
)
+ if (ret == DMA_
COMPLETE
)
return ret;
/*
@@
-1267,7
+1267,7
@@
static enum dma_status pl08x_dma_tx_status(struct dma_chan *chan,
spin_lock_irqsave(&plchan->vc.lock, flags);
ret = dma_cookie_status(chan, cookie, txstate);
- if (ret != DMA_
SUCCESS
) {
+ if (ret != DMA_
COMPLETE
) {
vd = vchan_find_desc(&plchan->vc, cookie);
if (vd) {
/* On the issued list, so hasn't been processed yet */