cpuidle: psci: Update init level to core_initcall()
authorMaulik Shah <quic_mkshah@quicinc.com>
Sat, 17 Feb 2024 13:57:08 +0000 (19:27 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 4 Apr 2024 11:02:28 +0000 (13:02 +0200)
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>
drivers/cpuidle/cpuidle-psci-domain.c

index 2b47811d986f0d463ee555cacaf1b2507bbbed14..fae9587943397b98888b2c05d8d6b3e1cf4cc403 100644 (file)
@@ -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);