cpufreq: interactive: always limit initial speed bump to hispeed
authorTodd Poynor <toddpoynor@google.com>
Tue, 25 Sep 2012 01:03:58 +0000 (18:03 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:43 +0000 (13:52 -0800)
commit984e8bbd617e89650dae9b08a986b1737f2ec018
tree08773705108a5be8048a26ddae71a6458bc9b50a
parentf9e8727032d1a979aa8d57aec1b68062520c4dd5
cpufreq: interactive: always limit initial speed bump to hispeed

First bump speed up to hispeed_freq whenever the current speed is below
hispeed_freq, instead of only when the current speed is the minimum speed.
The previous code made it too difficult to use hispeed_freq as a common
intermediate speed on systems that frequently run at speeds between
minimum and hispeed_freq.

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