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)
committerTodd Poynor <toddpoynor@google.com>
Mon, 9 Apr 2012 22:11:22 +0000 (15:11 -0700)
commite04e953b657d6e8b4f00b9e341370e339b1a0c97
tree621c6e35c8b46f190ed51fe9bcfe0f2054aeecf3
parent1c41e01a514bc6b5136fd9040bed5137cfd712a8
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