diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2022-07-04 13:27:39 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-18 07:22:22 +0530 |
commit | 68315f1a5f1333d8aa67bb7061b5a9da1134f474 (patch) | |
tree | 5061858a9339db6517eb8123c3036572fb48b2f9 /drivers/cpufreq/ia64-acpi-cpufreq.c | |
parent | f2b03dffa62e496df97b2b0d68fba2324c8d13c7 (diff) | |
download | linux-68315f1a5f1333d8aa67bb7061b5a9da1134f474.tar.gz |
cpufreq: Change order of online() CB and policy->cpus modification
From a state where all policy->related_cpus are offline, putting one
of the policy's CPU back online re-activates the policy by:
1. Calling cpufreq_driver->online()
2. Setting the CPU in policy->cpus
qcom_cpufreq_hw_cpu_online() makes use of policy->cpus. Thus 1. and 2.
should be inverted to avoid having a policy->cpus empty. The
qcom-cpufreq-hw is the only driver affected by this.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/ia64-acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions