Message ID | 1360832590-26562-1-git-send-email-fabio.baltieri@linaro.org |
---|---|
State | Accepted |
Commit | 7dd145252574e34d92ad574e5168e4115639c0be |
Headers | show |
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index ad860a2..1734fee 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -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);