summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-11-20 09:52:49 +0800
committerAndy Green <andy.green@linaro.org>2011-11-20 10:08:52 +0800
commit13f72f314647885840a3a075cded9bc9590671c3 (patch)
tree1d2a51f4477a0a28ef62da96ceeece3b6be9b6be /drivers
parentfaa39e5fb43ab118dc47cb09255d56c602eab372 (diff)
power: cpufreq interactive governor: use default sample time 20ms
Lower the default time at which a higher speed is allowed to run before lowering based on lower CPU load from 80ms to 20ms. Most Android devices should trade power for performance here, although tablets and non-battery-powered devices may want to override this default. Change-Id: I1a4f7faeca12793c51d5b92db30a63cca8d4f1be Signed-off-by: Todd Poynor <toddpoynor@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq_interactive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c
index e97a9cf06d9..ba699746b14 100644
--- a/drivers/cpufreq/cpufreq_interactive.c
+++ b/drivers/cpufreq/cpufreq_interactive.c
@@ -68,7 +68,7 @@ static unsigned long go_hispeed_load;
/*
* The minimum amount of time to spend at a frequency before we can ramp down.
*/
-#define DEFAULT_MIN_SAMPLE_TIME 80000;
+#define DEFAULT_MIN_SAMPLE_TIME 20000;
static unsigned long min_sample_time;
/*