]> git.karo-electronics.de Git - linux-beck.git/commitdiff
cpufreq: conservative: Fix relation when decreasing frequency
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 28 Feb 2013 05:38:02 +0000 (05:38 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 31 Mar 2013 23:11:35 +0000 (01:11 +0200)
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>
drivers/cpufreq/cpufreq_conservative.c

index 302931e76842dd940e9f830659591c87d0d1190e..a4af9c3f309ec9e82cd46de290759ace57afc046 100644 (file)
@@ -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;
        }
 }