From: John Stultz Date: Tue, 1 May 2012 21:10:31 +0000 (-0700) Subject: cpufreq-interactive: Compile fixup X-Git-Tag: firefly_0821_release~2958^2~300 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b62e5a1c49ff7bfff874cefbc467782da78263f6;p=firefly-linux-kernel-4.4.55.git cpufreq-interactive: Compile fixup Looks like AOSP has a compile bug. Fix it up. Signed-off-by: John Stultz --- diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index fcf0f217f20f..7cb2e641fcdc 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b/drivers/cpufreq/cpufreq_interactive.c @@ -233,7 +233,7 @@ static void cpufreq_interactive_timer(unsigned long data) * floor frequency for the minimum sample time since last validated. */ if (new_freq < pcpu->floor_freq) { - if (pcpu->timer_run_time - pcpu->target_validate_time + if (pcpu->timer_run_time - pcpu->floor_validate_time < min_sample_time) { trace_cpufreq_interactive_notyet(data, cpu_load, pcpu->target_freq, new_freq);