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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:42 +0000 (13:40 -0700)
commitc9d6c1ff8d0e6064b3c42c9f5a6baf687a30d29b
tree70a26447ff2bb217948bde0e4b1e7c777866a16e
parentea2bc4da31ab7966799224ff25681fdfc29bf90d
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