]> 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)
commit56f842c20c49ceb75795227212873f63cf7d7f5c
tree486b428bb7ade6c304ba82e909dca262fce8ef54
parent9e207c3c538dd94d86f6df1daf664b5a425e2ed5
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