diff options
author | Thomas Renninger <trenn@suse.de> | 2007-04-19 17:48:34 +0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-04-26 22:32:02 +0400 |
commit | 22c970f3468a6766b362d57fa32ebb92cb8cd6db (patch) | |
tree | 09e666c2c1f1ac93a2a6deec703d667cdc41b250 /include/linux/cpufreq.h | |
parent | e8e49190f64896afe79f7136a67c2bdefbd3e322 (diff) | |
download | linux-22c970f3468a6766b362d57fa32ebb92cb8cd6db.tar.xz |
[CPUFREQ] Fix limited cpufreq when booted on battery
References:
https://bugzilla.novell.com/show_bug.cgi?id=231107
https://bugzilla.novell.com/show_bug.cgi?id=264077
Fix limited cpufreq when booted on battery
If booted on battery:
cpufreq_set_policy (evil) is invoked which calls verify_within_limits.
max_freq gets lowered and therefore users_policy.max, which
is used to restore higher freqs via update_policy later is set to the
already limited frequency -> you can never go up again, even BIOS
allows higher freqs later.
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/cpufreq.h')
0 files changed, 0 insertions, 0 deletions