From: Thomas Renninger Date: Thu, 19 Apr 2007 13:48:34 +0000 (+0200) Subject: [CPUFREQ] Fix limited cpufreq when booted on battery X-Git-Tag: v2.6.22-rc1~1083^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c970f3468a6766b362d57fa32ebb92cb8cd6db;p=pandora-kernel.git [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 Signed-off-by: Dave Jones --- Reading git-diff-tree failed