]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: imx: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 4 Jul 2025 07:54:00 +0000 (10:54 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 24 Jul 2025 21:43:54 +0000 (14:43 -0700)
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 <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20250704075400.3217126-1-sakari.ailus@linux.intel.com
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx8qxp-lpcg.c
drivers/clk/imx/clk-scu.c

index d0ccaa0402252ba71a806a4b974971a1db84faef..1dae3410ee99a166c833fd664c0e61661839d9f4 100644 (file)
@@ -267,7 +267,6 @@ static int imx_lpcg_parse_clks_from_dt(struct platform_device *pdev,
        if (ret)
                goto unreg;
 
-       pm_runtime_mark_last_busy(&pdev->dev);
        pm_runtime_put_autosuspend(&pdev->dev);
 
        return 0;
index b27186aaf2a15628910ea6a3d4aaa5320ec4295a..0ef661608139ea6f3618d9f085aa03dc9aa9449f 100644 (file)
@@ -567,7 +567,6 @@ static int imx_clk_scu_probe(struct platform_device *pdev)
 
        if (!((clk->rsrc == IMX_SC_R_A35) || (clk->rsrc == IMX_SC_R_A53) ||
            (clk->rsrc == IMX_SC_R_A72))) {
-               pm_runtime_mark_last_busy(&pdev->dev);
                pm_runtime_put_autosuspend(&pdev->dev);
        }