Skip to content
Browse files

cpufreq_pegasusq: set sampling_rate to 200000 when the screen is off …

…even if we have another sampling rate set
  • Loading branch information...
1 parent 6ba0dcc commit 778864c00e3290374d6ea76594f70fda21aacb8e @gokhanmoral committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/cpufreq/cpufreq_pegasusq.c
View
2 drivers/cpufreq/cpufreq_pegasusq.c
@@ -1414,7 +1414,7 @@ static void cpufreq_pegasusq_early_suspend(struct early_suspend *h)
prev_freq_step = dbs_tuners_ins.freq_step;
prev_sampling_rate = dbs_tuners_ins.sampling_rate;
dbs_tuners_ins.freq_step = 10;
- dbs_tuners_ins.sampling_rate *= 4;
+ dbs_tuners_ins.sampling_rate = 200000;
#if EARLYSUSPEND_HOTPLUGLOCK
atomic_set(&g_hotplug_lock,
(dbs_tuners_ins.min_cpu_lock) ? dbs_tuners_ins.min_cpu_lock : 1);

0 comments on commit 778864c

Please sign in to comment.
Something went wrong with that request. Please try again.