|
@@ -1566,10 +1566,12 @@ static void dma_tc_handle(struct d40_chan *d40c)
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (d40_queue_start(d40c) == NULL)
|
|
|
+ if (d40_queue_start(d40c) == NULL) {
|
|
|
d40c->busy = false;
|
|
|
- pm_runtime_mark_last_busy(d40c->base->dev);
|
|
|
- pm_runtime_put_autosuspend(d40c->base->dev);
|
|
|
+
|
|
|
+ pm_runtime_mark_last_busy(d40c->base->dev);
|
|
|
+ pm_runtime_put_autosuspend(d40c->base->dev);
|
|
|
+ }
|
|
|
|
|
|
d40_desc_remove(d40d);
|
|
|
d40_desc_done(d40c, d40d);
|