Message ID | 1650450456-34351-1-git-send-email-sugar.zhang@rock-chips.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [v2] dmaengine: pl330: Fix unbalanced runtime PM | expand |
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 858400e..ccd430e 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -2084,7 +2084,7 @@ static void pl330_tasklet(struct tasklet_struct *t) spin_lock(&pch->thread->dmac->lock); _stop(pch->thread); spin_unlock(&pch->thread->dmac->lock); - power_down = true; + power_down = pch->active; pch->active = false; } else { /* Make sure the PL330 Channel thread is active */