cpufreq: interactive: don't drop speed if recently at higher load
authorTodd Poynor <toddpoynor@google.com>
Sat, 7 Apr 2012 02:59:36 +0000 (19:59 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:35 +0000 (13:52 -0800)
commit27c22a708fc9ee9c40a6724872c02bea043677cb
treebb6fdf310b0d3668fbbbf4b1e277fc353d600680
parent7b2dc7eab966e0f4b175b58349d127438720c76a
cpufreq: interactive: don't drop speed if recently at higher load

Apply min_sample_time to the last time the current target speed
was originally requested or re-validated as appropriate for the
current load, not to the time since the current speed was
originally set.  Avoids periodic dips in speed during bursty
loads.

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