]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq / intel_pstate: Fix calculation of current frequency
authorDirk Brandewie <dirk.brandewie@gmail.com>
Sat, 23 Mar 2013 23:54:39 +0000 (00:54 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Mar 2013 14:12:59 +0000 (15:12 +0100)
commitac1742e159aed2318d39f17ca2b2e4b9aee5352b
tree486b428bb7ade6c304ba82e909dca262fce8ef54
parent1b290e5a8dc6087cd92b15477aa2911b98588538
cpufreq / intel_pstate: Fix calculation of current frequency

Use the correct pstate value to calculate the effective frequency.

References: https://bugzilla.redhat.com/show_bug.cgi?id=923942
Reported-by: Satish Balay <balay@fastmail.fm>
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