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)
commite6f3eb29be471c4b536a91daab76d4aeda72a261
tree486b428bb7ade6c304ba82e909dca262fce8ef54
parentb563b4e3f2dd601e19b46ada31bd176fc0a16efc
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