cpufreq-interactive: Compile fixup
John Stultz [Tue, 1 May 2012 21:10:31 +0000 (14:10 -0700)]
Looks like AOSP has a compile bug. Fix it up.

Signed-off-by: John Stultz <john.stultz@linaro.org>

drivers/cpufreq/cpufreq_interactive.c

index fcf0f21..7cb2e64 100644 (file)
@@ -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);