cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS
authorBadhri Jagan Sridharan <Badhri@google.com>
Tue, 8 Apr 2014 01:26:30 +0000 (18:26 -0700)
committerBadhri Jagan Sridharan <badhri@google.com>
Wed, 9 Apr 2014 01:48:15 +0000 (01:48 +0000)
commit9b97d655a558607c5d46ef1f21365d695f8d1ee2
tree0f5ca0eb627ae342c961af1d9bd32420e1fe64f7
parent5f08c8d82d008650468c96506fcdf7208f384795
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