Skip to content

Commit 11ff4bd

Browse files
idlethreaddlezcano
authored andcommitted
cpufreq: qcom-hw: Move driver initialization earlier
Allow qcom-hw driver to initialize right after the cpufreq and thermal subsystems are initialised in core_initcall so we get earlier access to thermal mitigation. Signed-off-by: Amit Kucheria <[email protected]> Acked-by: Daniel Lezcano <[email protected]> Acked-by: Taniya Das <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/eacce8d08388b0bdfc908d2701fe7c2b78d90441.1571656015.git.amit.kucheria@linaro.org
1 parent b418bab commit 11ff4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpufreq/qcom-cpufreq-hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static int __init qcom_cpufreq_hw_init(void)
334334
{
335335
return platform_driver_register(&qcom_cpufreq_hw_driver);
336336
}
337-
device_initcall(qcom_cpufreq_hw_init);
337+
postcore_initcall(qcom_cpufreq_hw_init);
338338

339339
static void __exit qcom_cpufreq_hw_exit(void)
340340
{

0 commit comments

Comments
 (0)