aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c
index 67c9d4f9edc0..f56debd9a8d7 100644
--- a/drivers/cpufreq/cpufreq_ondemand.c
+++ b/drivers/cpufreq/cpufreq_ondemand.c
@@ -415,7 +415,7 @@ static void dbs_check_cpu(struct cpu_dbs_info_s *this_dbs_info)
415 if (load < (dbs_tuners_ins.up_threshold - 10)) { 415 if (load < (dbs_tuners_ins.up_threshold - 10)) {
416 unsigned int freq_next, freq_cur; 416 unsigned int freq_next, freq_cur;
417 417
418 freq_cur = __cpufreq_driver_getavg(policy); 418 freq_cur = __cpufreq_driver_getavg(policy, policy->cpu);
419 if (!freq_cur) 419 if (!freq_cur)
420 freq_cur = policy->cur; 420 freq_cur = policy->cur;
421 421