projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed83c0c
)
dmaengine: jz4740: use DMA_COMPLETE for dma completion status
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 16 Oct 2013 08:06:54 +0000
(13:36 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 25 Oct 2013 05:45:58 +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/dma-jz4740.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dma-jz4740.c
b/drivers/dma/dma-jz4740.c
index b0c0c8268d42bb023ac94ca8f420e22a5a197c37..94c380f0753860c4c4002c19f4217332fa2460f0 100644
(file)
--- a/
drivers/dma/dma-jz4740.c
+++ b/
drivers/dma/dma-jz4740.c
@@
-491,7
+491,7
@@
static enum dma_status jz4740_dma_tx_status(struct dma_chan *c,
unsigned long flags;
status = dma_cookie_status(c, cookie, state);
- if (status == DMA_
SUCCESS
|| !state)
+ if (status == DMA_
COMPLETE
|| !state)
return status;
spin_lock_irqsave(&chan->vchan.lock, flags);