summaryrefslogtreecommitdiff
path: root/drivers/cpuidle/cpuidle-psci-domain.c
diff options
context:
space:
mode:
authorMaulik Shah <quic_mkshah@quicinc.com>2024-02-17 16:57:08 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2024-04-04 14:02:28 +0300
commit02e2a4b3638cdf6c001f368589966887a1420e01 (patch)
treeddd6e5c6a80aa880283464c4a4ab6fca6042bb38 /drivers/cpuidle/cpuidle-psci-domain.c
parentd72d7d6cf77d0f2079b7120628c9bf490de1fae2 (diff)
downloadlinux-02e2a4b3638cdf6c001f368589966887a1420e01.tar.xz
cpuidle: psci: Update init level to core_initcall()
Clients like regulators, interconnects and clocks depend on rpmh-rsc to vote on resources and rpmh-rsc depends on psci power-domains to complete probe. All of them are in core_initcall(). Change psci domain init level to core_initcall() to avoid probe defer from all of the above. Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com> Link: https://lore.kernel.org/r/20240217-init_level-v1-2-bde9e11f8317@quicinc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/cpuidle/cpuidle-psci-domain.c')
-rw-r--r--drivers/cpuidle/cpuidle-psci-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-psci-domain.c b/drivers/cpuidle/cpuidle-psci-domain.c
index 2b47811d986f..fae958794339 100644
--- a/drivers/cpuidle/cpuidle-psci-domain.c
+++ b/drivers/cpuidle/cpuidle-psci-domain.c
@@ -201,4 +201,4 @@ static int __init psci_idle_init_domains(void)
{
return platform_driver_register(&psci_cpuidle_domain_driver);
}
-subsys_initcall(psci_idle_init_domains);
+core_initcall(psci_idle_init_domains);