cpufreq / intel_pstate: Fix max_perf_pct on resume
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Tue, 15 Oct 2013 18:06:14 +0000 (11:06 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 23:41:46 +0000 (01:41 +0200)
commit52e0a509e5d6f902ec26bc2a8bb02b137dc453be
tree3cc6554ec6a077340bab9f47ebf9297c0b1c02bd
parent35f9162d67c3e20a82b4bd6ec538f3e9c14fb055
cpufreq / intel_pstate: Fix max_perf_pct on resume

If the system is suspended while max_perf_pct is less than 100 percent
or no_turbo set policy->{min,max} will be set incorrectly with scaled
values which turn the scaled values into hard limits.

References: https://bugzilla.kernel.org/show_bug.cgi?id=61241
Reported-by: Patrick Bartels <petzicus@googlemail.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Cc: 3.9+ <stable@vger.kernel.org> # 3.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c
This page took 0.025445 seconds and 5 git commands to generate.