cpufreq: interactive: base hispeed bump on target freq, not actual
authorTodd Poynor <toddpoynor@google.com>
Thu, 19 Apr 2012 19:52:48 +0000 (12:52 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:36 +0000 (13:52 -0800)
commit759fcdd8d72529e83bdf3eb261d69aa85fcf5bda
tree869bbd7ed9fc6e7d0b7b64ef57a567c67aa5f845
parent3b14df50831d1268a80963dbfb2c7a36b87f3057
cpufreq: interactive: base hispeed bump on target freq, not actual

For systems that set a common speed for all CPUs, checking current
speed here could bypass the intermediate hispeed bump decision for
this CPU when another CPU was already at hispeed.  This could
result in an overly high setting (for all CPUs) in situations
where all CPUs were about to drop to load levels that map to
hispeed or below.

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