1
0
Fork 0

dmaengine: ti: omap-dma: Remove variable override in omap_dma_tx_status()

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>
alistair/sunxi64-5.4-dsi
Peter Ujfalusi 2019-07-30 16:20:29 +03:00 committed by Vinod Koul
parent 7a09c09c30
commit 9fa2df6eaf
1 changed files with 0 additions and 1 deletions

View File

@ -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);