From: 黄涛 Date: Mon, 6 May 2013 06:55:12 +0000 (+0800) Subject: rk3168: cpufreq: check temperature every 1s when in performance mode X-Git-Tag: firefly_0821_release~7161 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6d6d4f4b43c51c3d2217e6ec745aee47ce65e301;p=firefly-linux-kernel-4.4.55.git rk3168: cpufreq: check temperature every 1s when in performance mode --- diff --git a/arch/arm/mach-rk3188/cpufreq.c b/arch/arm/mach-rk3188/cpufreq.c index 0bba0fffa0ac..c9ca913b3af3 100644 --- a/arch/arm/mach-rk3188/cpufreq.c +++ b/arch/arm/mach-rk3188/cpufreq.c @@ -217,7 +217,7 @@ static void rk3188_cpufreq_temp_limit_work_func(struct work_struct *work) limits_size = ARRAY_SIZE(temp_limits_gpu_perf); } } else { - delay = HZ / 25; // 40ms + delay = HZ; // 1s limits_table = temp_limits_cpu_perf; limits_size = ARRAY_SIZE(temp_limits_cpu_perf); }