mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
UPSTREAM: 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 <amit.kucheria@linaro.org> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Taniya Das <tdas@codeaurora.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/eacce8d08388b0bdfc908d2701fe7c2b78d90441.1571656015.git.amit.kucheria@linaro.org (cherry picked from commit 11ff4bdd1ab4a6c75d49fbd752a1d9b79e8ca8cb) Signed-off-by: John Stultz <john.stultz@linaro.org> Bug: 146449535 Change-Id: I27f281e4634139a18c86bfa889b97c77cfc6ddd0
This commit is contained in:
parent
d3e7f43a9f
commit
9df826d676
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ static int __init qcom_cpufreq_hw_init(void)
|
|||
{
|
||||
return platform_driver_register(&qcom_cpufreq_hw_driver);
|
||||
}
|
||||
device_initcall(qcom_cpufreq_hw_init);
|
||||
postcore_initcall(qcom_cpufreq_hw_init);
|
||||
|
||||
static void __exit qcom_cpufreq_hw_exit(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue