cpufreq: interactive: resched timer if max freq raised
authorLianwei Wang <a22439@motorola.com>
Fri, 26 Apr 2013 05:30:51 +0000 (13:30 +0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 22:46:29 +0000 (15:46 -0700)
commit37a05ab72b8c67523c0766319dfabe9290ad7d18
treedbba2d2282e5bf167671508649b988203ab28fb3
parente1fb7646f1092a0e9baa0007983563092f3ab93d
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