cpufreq: interactive: apply intermediate load to max speed not current
authorTodd Poynor <toddpoynor@google.com>
Fri, 6 Apr 2012 08:13:09 +0000 (01:13 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:34 +0000 (13:52 -0800)
commit077dfe8ba59ef1b167a91d58bb56e051eed52348
treecdd636a467e2dc85b0b0b92ab57188410f87b54e
parent2561571b3b47325944e1550ac8ab2d558b3627b2
cpufreq: interactive: apply intermediate load to max speed not current

Evaluate spikes in load (below go_hispeed_load) against the maximum
speed supported by the device, not the current speed (which tends to
make it too difficult to raise speed to intermediate levels until
very busy).

Change-Id: Ib937006abf8bedb60891a739acd733e89b732ae0
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/cpufreq/cpufreq_interactive.c