From: Namhyung Kim Date: Thu, 28 Feb 2013 05:38:02 +0000 (+0000) Subject: cpufreq: conservative: Fix relation when decreasing frequency X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fed573d5c91ab8f12801740cfac0567e33635b1e;p=linux-beck.git 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 Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- 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; } }