cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy...
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 31 Oct 2012 00:28:15 +0000 (01:28 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Nov 2012 23:33:09 +0000 (00:33 +0100)
commit5a1c022850ea5d64c2997bf9b89f5ae112d5ee4d
treea6ee4f063d362d456fe3e8c8475bf441aa51dfd8
parentda58445570326ac2a342770a9c9a2646276e1721
cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy->cur

Avoid calling cpufreq driver's target() routine if new frequency is same as
policies current frequency.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c