Skip to content

Commit 76aa140

Browse files
Sakari Ailusbebarino
authored andcommitted
clk: imx: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent cd4da71 commit 76aa140

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

drivers/clk/imx/clk-imx8qxp-lpcg.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ static int imx_lpcg_parse_clks_from_dt(struct platform_device *pdev,
267267
if (ret)
268268
goto unreg;
269269

270-
pm_runtime_mark_last_busy(&pdev->dev);
271270
pm_runtime_put_autosuspend(&pdev->dev);
272271

273272
return 0;

drivers/clk/imx/clk-scu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@ static int imx_clk_scu_probe(struct platform_device *pdev)
567567

568568
if (!((clk->rsrc == IMX_SC_R_A35) || (clk->rsrc == IMX_SC_R_A53) ||
569569
(clk->rsrc == IMX_SC_R_A72))) {
570-
pm_runtime_mark_last_busy(&pdev->dev);
571570
pm_runtime_put_autosuspend(&pdev->dev);
572571
}
573572

0 commit comments

Comments
 (0)