summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_conservative.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2013-02-28 05:38:02 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-01 01:11:35 +0200
commitfed573d5c91ab8f12801740cfac0567e33635b1e (patch)
tree745219169fef531480fe81f44b5fc711dba6ba9a /drivers/cpufreq/cpufreq_conservative.c
parentad529a9cd2306782907371830135a140e4572919 (diff)
downloadtalos-op-linux-fed573d5c91ab8f12801740cfac0567e33635b1e.tar.gz
talos-op-linux-fed573d5c91ab8f12801740cfac0567e33635b1e.zip
cpufreq: conservative: Fix relation when decreasing frequency
The relation should be CPUFREQ_RELATION_L to find optimal frequency when decreasing. Signed-off-by: Namhyung Kim <namhyung@kernel.org> 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_conservative.c')
-rw-r--r--drivers/cpufreq/cpufreq_conservative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c
index 302931e76842..a4af9c3f309e 100644
--- a/drivers/cpufreq/cpufreq_conservative.c
+++ b/drivers/cpufreq/cpufreq_conservative.c
@@ -100,7 +100,7 @@ static void cs_check_cpu(int cpu, unsigned int load)
dbs_info->requested_freq = policy->min;
__cpufreq_driver_target(policy, dbs_info->requested_freq,
- CPUFREQ_RELATION_H);
+ CPUFREQ_RELATION_L);
return;
}
}
OpenPOWER on IntegriCloud