projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a09c09
)
dmaengine: ti: omap-dma: Remove variable override in omap_dma_tx_status()
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Tue, 30 Jul 2019 13:20:29 +0000
(16:20 +0300)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 4 Sep 2019 04:41:17 +0000
(10:11 +0530)
There is no need to fetch local omap_desc since the desc we have is the
correct one already when we need to check the channel status.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link:
https://lore.kernel.org/r/20190730132029.2971-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/omap-dma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/ti/omap-dma.c
b/drivers/dma/ti/omap-dma.c
index
23da592
..
7b5d485
100644
(file)
--- a/
drivers/dma/ti/omap-dma.c
+++ b/
drivers/dma/ti/omap-dma.c
@@
-860,7
+860,6
@@
out:
* accordingly and mark it as completed
*/
if (!(ccr & CCR_ENABLE)) {
- struct omap_desc *d = c->desc;
ret = DMA_COMPLETE;
omap_dma_start_desc(c);
vchan_cookie_complete(&d->vd);