diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2013-11-08 17:40:25 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2013-11-15 13:59:12 +0900 |
commit | a02f80423b95e4d136af6fc9e88fa911f815a092 (patch) | |
tree | ab182d9f7afdab8e2e5e5841047e70230d5df6c3 | |
parent | 2638e0bd78008199690955dd2ad5ef052ab984ae (diff) | |
download | linux-3.10-a02f80423b95e4d136af6fc9e88fa911f815a092.tar.gz linux-3.10-a02f80423b95e4d136af6fc9e88fa911f815a092.tar.bz2 linux-3.10-a02f80423b95e4d136af6fc9e88fa911f815a092.zip |
cpufreq: lab: Enable overclocking in LAB
Overclocking is always on for LAB governor's working.
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
-rw-r--r-- | drivers/cpufreq/cpufreq_lab.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/cpufreq/cpufreq_lab.c b/drivers/cpufreq/cpufreq_lab.c index 3fe876ba3cb..c09e352b192 100644 --- a/drivers/cpufreq/cpufreq_lab.c +++ b/drivers/cpufreq/cpufreq_lab.c @@ -163,7 +163,11 @@ static void lb_dbs_timer(struct work_struct *work) mutex_lock(&core_dbs_info->cdbs.timer_mutex); - dbs_check_cpu(dbs_data, cpu); + /* Enable overclocking always for LAB governor */ + if (cpufreq_boost_supported() && unlikely(!cpufreq_boost_enabled())) + cpufreq_boost_trigger_state(1); + else + dbs_check_cpu(dbs_data, cpu); delay = delay_for_sampling_rate(lb_tuners->sampling_rate * core_dbs_info->rate_mult); |