Skip to content

Commit ecc3cfc

Browse files
jhovoldvinodkoul
authored andcommitted
dmaengine: mediatek: drop bogus pm_runtime_set_active()
The runtime PM state must be updated while runtime PM is disabled for the change to take effect. Drop the bogus pm_runtime_set_active() which left the PM state set to suspended (as it should be or the clock would not be enabled when the device is resumed). Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230622075150.885-1-johan+linaro@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 3533913 commit ecc3cfc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/dma/mediatek/mtk-uart-apdma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,6 @@ static int mtk_uart_apdma_probe(struct platform_device *pdev)
551551
}
552552

553553
pm_runtime_enable(&pdev->dev);
554-
pm_runtime_set_active(&pdev->dev);
555554

556555
rc = dma_async_device_register(&mtkd->ddev);
557556
if (rc)

0 commit comments

Comments
 (0)