mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
dmaengine: ste_dma40: do not remove descriptors for cyclic transfers
Fix dma_tc_handle() to call d40_desc_remove() and d40_desc_done() only
for non-cyclic transfers, as this was breaking ux500_pcm since
introduced in:
d49278e dmaengine: dma40: Add support to split up large elements
Reported-by: Shreshtha Kumar Sahu <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Fabio Baltieri <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
e68b1130df
commit
7dd1452525
1 changed files with 3 additions and 3 deletions
|
|
@ -1570,10 +1570,10 @@ static void dma_tc_handle(struct d40_chan *d40c)
|
|||
d40c->busy = false;
|
||||
pm_runtime_mark_last_busy(d40c->base->dev);
|
||||
pm_runtime_put_autosuspend(d40c->base->dev);
|
||||
}
|
||||
|
||||
d40_desc_remove(d40d);
|
||||
d40_desc_done(d40c, d40d);
|
||||
d40_desc_remove(d40d);
|
||||
d40_desc_done(d40c, d40d);
|
||||
}
|
||||
|
||||
d40c->pending_tx++;
|
||||
tasklet_schedule(&d40c->tasklet);
|
||||
|
|
|
|||
Loading…
Reference in a new issue