Skip to content

Commit 741ba01

Browse files
konradybciostorulf
authored andcommitted
pmdomain: core: Move the unused cleanup to a _sync initcall
The unused clock cleanup uses the _sync initcall to give all users at earlier initcalls time to probe. Do the same to avoid leaving some PDs dangling at "on" (which actually happened on qcom!). Fixes: 2fe71dc ("PM / domains: Add late_initcall to disable unused PM domains") Signed-off-by: Konrad Dybcio <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/20231227-topic-pmdomain_sync_cleanup-v1-1-5f36769d538b@linaro.org Signed-off-by: Ulf Hansson <[email protected]>
1 parent 6613476 commit 741ba01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pmdomain/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ static int __init genpd_power_off_unused(void)
11091109

11101110
return 0;
11111111
}
1112-
late_initcall(genpd_power_off_unused);
1112+
late_initcall_sync(genpd_power_off_unused);
11131113

11141114
#ifdef CONFIG_PM_SLEEP
11151115

0 commit comments

Comments
 (0)