Skip to content

Commit 60e61a4

Browse files
Sakari Ailusbebarino
authored andcommitted
clk: qcom: 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] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 76aa140 commit 60e61a4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/clk/qcom/lpassaudiocc-sc7280.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,6 @@ static int lpass_audio_cc_sc7280_probe(struct platform_device *pdev)
799799
goto exit;
800800
}
801801

802-
pm_runtime_mark_last_busy(&pdev->dev);
803802
exit:
804803
pm_runtime_put_autosuspend(&pdev->dev);
805804

@@ -868,7 +867,6 @@ static int lpass_aon_cc_sc7280_probe(struct platform_device *pdev)
868867
goto exit;
869868
}
870869

871-
pm_runtime_mark_last_busy(&pdev->dev);
872870
exit:
873871
pm_runtime_put_autosuspend(&pdev->dev);
874872

drivers/clk/qcom/lpasscorecc-sc7180.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,6 @@ static int lpass_core_cc_sc7180_probe(struct platform_device *pdev)
412412

413413
ret = qcom_cc_really_probe(&pdev->dev, &lpass_core_cc_sc7180_desc, regmap);
414414

415-
pm_runtime_mark_last_busy(&pdev->dev);
416415
exit:
417416
pm_runtime_put_autosuspend(&pdev->dev);
418417

@@ -433,7 +432,6 @@ static int lpass_hm_core_probe(struct platform_device *pdev)
433432

434433
ret = qcom_cc_probe_by_index(pdev, 0, desc);
435434

436-
pm_runtime_mark_last_busy(&pdev->dev);
437435
pm_runtime_put_autosuspend(&pdev->dev);
438436

439437
return ret;

0 commit comments

Comments
 (0)