summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq-cpu0.c
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2013-03-05 22:06:40 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-01 01:11:35 +0200
commit27ed3cd2ebf4cd78b198be9758c538cdede36d8a (patch)
tree7d1e5bc92a1722752daed3762ef83130c56a65c2 /drivers/cpufreq/cpufreq-cpu0.c
parent7af1c0568d33339318c6710381921a3a3d40eebb (diff)
downloadop-kernel-dev-27ed3cd2ebf4cd78b198be9758c538cdede36d8a.zip
op-kernel-dev-27ed3cd2ebf4cd78b198be9758c538cdede36d8a.tar.gz
cpufreq: conservative: Fix the logic in frequency decrease checking
When we evaluate the CPU load for frequency decrease we have to compare the load against down_threshold. There is no need to subtract 10 points from down_threshold. Instead, we have to use the default down_threshold or user's selection unmodified. Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq-cpu0.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud