]> 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)
commitaa6e60d1e173c25e51adc1a357270c09d3437e3a
treef1f7f5dc8d3e62cfdb092db908eeba2aaa1229dd
parent2224072588e35e2cdb89901e00d8967990888621
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