cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS
authorBadhri Jagan Sridharan <Badhri@google.com>
Tue, 8 Apr 2014 01:26:30 +0000 (18:26 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:02 +0000 (13:53 -0800)
commit528ef7dd37cf38ed2632b3368fda2fb640a43c4d
tree534fd866f0ba00f6b85cffb154fe19408e2707fc
parent479449ecf2d12bc11762c4a2400aff04efaf182e
cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS

The cpufreq_interactive_timer gets cancelled and rescheduled
whenever the cpufreq_policy is changed. When the cpufreq policy is
changed at a rate faster than the sampling_rate of the interactive
governor, then the governor misses to change the target frequency
for long duration. The patch removes the need of cancelling the
timers when policy->min is changed.

Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: Ibd98d151e1c73b8bd969484583ff98ee9f1135ef
drivers/cpufreq/cpufreq_interactive.c