OSDN Git Service

cpufreq: interactive: resched timer if max freq raised
authorLianwei Wang <a22439@motorola.com>
Fri, 26 Apr 2013 05:30:51 +0000 (13:30 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:57 +0000 (13:52 -0800)
commite8ad1a85f65221837ec3a16f725ddad8271b851d
tree06fc57626904e40a0163cf178b19d0fdf042b1ea
parent7a5c8bae5cbe4922225071786be8b1809f06ea1f
cpufreq: interactive: resched timer if max freq raised

When the policy max freq is raised, and before the timer is
rescheduled in idle callback, the cpu freq may stuck at a
lower freq.

The target_freq shall be updated too, else on a high load
situation, the new_freq is always equal to target_freq and
which will cause freq stuck at a lower freq too.

Reschedule the timer on gov limits callback.

Change-Id: I6c187001ab43e859731429b64f75a74eebc37a24
Signed-off-by: Lianwei Wang <a22439@motorola.com>
drivers/cpufreq/cpufreq_interactive.c