From: Dirk Brandewie Date: Wed, 6 Feb 2013 17:02:08 +0000 (-0800) Subject: cpufreq: Retrieve current frequency from scaling drivers with internal governors X-Git-Tag: v3.9-rc1~146^2~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e21ba8bd849251c8ba22ddf39308a5227134fdc;p=pandora-kernel.git cpufreq: Retrieve current frequency from scaling drivers with internal governors Scaling drivers that implement the cpufreq_driver.setpolicy() versus the cpufreq_driver.target() interface do not set policy->cur. Normally policy->cur is set during the call to cpufreq_driver.target() when the frequnecy request is made by the governor. If the scaling driver implements cpufreq_driver.setpolicy() and cpufreq_driver.get() interfaces use cpufreq_driver.get() to retrieve the current frequency. Signed-off-by: Dirk Brandewie Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed