diff options
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 24cd6ff9bb0b..e3aa9deb40d9 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
@@ -264,8 +264,7 @@ static void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci) | |||
264 | pr_debug("saving %lu as reference value for loops_per_jiffy; freq is %u kHz\n", | 264 | pr_debug("saving %lu as reference value for loops_per_jiffy; freq is %u kHz\n", |
265 | l_p_j_ref, l_p_j_ref_freq); | 265 | l_p_j_ref, l_p_j_ref_freq); |
266 | } | 266 | } |
267 | if ((val == CPUFREQ_POSTCHANGE && ci->old != ci->new) || | 267 | if (val == CPUFREQ_POSTCHANGE && ci->old != ci->new) { |
268 | (val == CPUFREQ_RESUMECHANGE || val == CPUFREQ_SUSPENDCHANGE)) { | ||
269 | loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, | 268 | loops_per_jiffy = cpufreq_scale(l_p_j_ref, l_p_j_ref_freq, |
270 | ci->new); | 269 | ci->new); |
271 | pr_debug("scaling loops_per_jiffy to %lu for frequency %u kHz\n", | 270 | pr_debug("scaling loops_per_jiffy to %lu for frequency %u kHz\n", |