]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: qcom: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 4 Jul 2025 07:54:01 +0000 (10:54 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 24 Jul 2025 21:43:55 +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/20250704075401.3217179-1-sakari.ailus@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/lpassaudiocc-sc7280.c
drivers/clk/qcom/lpasscorecc-sc7180.c

index 22169da08a51a01b8cd924c4844672c7cadc7d1a..3ff123bffa114de447c96a250862a533e82d6e64 100644 (file)
@@ -799,7 +799,6 @@ static int lpass_audio_cc_sc7280_probe(struct platform_device *pdev)
                goto exit;
        }
 
-       pm_runtime_mark_last_busy(&pdev->dev);
 exit:
        pm_runtime_put_autosuspend(&pdev->dev);
 
@@ -868,7 +867,6 @@ static int lpass_aon_cc_sc7280_probe(struct platform_device *pdev)
                goto exit;
        }
 
-       pm_runtime_mark_last_busy(&pdev->dev);
 exit:
        pm_runtime_put_autosuspend(&pdev->dev);
 
index 605516d03993308c7b93c655eec99faf1f9636de..5937b071533b68b7f5b4c9d5b8c23e3292ed212c 100644 (file)
@@ -412,7 +412,6 @@ static int lpass_core_cc_sc7180_probe(struct platform_device *pdev)
 
        ret = qcom_cc_really_probe(&pdev->dev, &lpass_core_cc_sc7180_desc, regmap);
 
-       pm_runtime_mark_last_busy(&pdev->dev);
 exit:
        pm_runtime_put_autosuspend(&pdev->dev);
 
@@ -433,7 +432,6 @@ static int lpass_hm_core_probe(struct platform_device *pdev)
 
        ret = qcom_cc_probe_by_index(pdev, 0, desc);
 
-       pm_runtime_mark_last_busy(&pdev->dev);
        pm_runtime_put_autosuspend(&pdev->dev);
 
        return ret;