diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-03-21 07:06:06 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-03-22 02:38:27 +0100 |
commit | ff010472fb75670cb5c08671e820eeea3af59c87 (patch) | |
tree | f82f32db99ebc5cd9c5f2b8d67c3fec364c519f7 /MAINTAINERS | |
parent | cpufreq: Fix and clean up show_cpuinfo_cur_freq() (diff) | |
download | linux-ff010472fb75670cb5c08671e820eeea3af59c87.tar.xz linux-ff010472fb75670cb5c08671e820eeea3af59c87.zip |
cpufreq: Restore policy min/max limits on CPU online
On CPU online the cpufreq core restores the previous governor (or
the previous "policy" setting for ->setpolicy drivers), but it does
not restore the min/max limits at the same time, which is confusing,
inconsistent and real pain for users who set the limits and then
suspend/resume the system (using full suspend), in which case the
limits are reset on all CPUs except for the boot one.
Fix this by making cpufreq_online() restore the limits when an inactive
policy is brought online.
The commit log and patch are inspired from Rafael's earlier work.
Reported-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 4.3+ <stable@vger.kernel.org> # 4.3+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions