]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Correct calculation of min pstate value
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Mon, 21 Oct 2013 16:20:33 +0000 (09:20 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 21 Oct 2013 23:16:39 +0000 (01:16 +0200)
commita37dfb08ad9b14a9e488230de081a7a85070a854
treef1f7f5dc8d3e62cfdb092db908eeba2aaa1229dd
parent3dfdf8ecce979a3f2b16154d56114536a9252ed8
intel_pstate: Correct calculation of min pstate value

The minimum pstate is supposed to be a percentage of the maximum P
state available.  Calculate min using max pstate and not the
current max which may have been limited by the user

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c