]> Pileus Git - ~andy/linux/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)
commit7244cb62d96e735847dc9d08f870550df896898c
treef1f7f5dc8d3e62cfdb092db908eeba2aaa1229dd
parentd253d2a52676cfa3d89b8f0737a08ce7db665207
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