From: 黄涛 Date: Wed, 11 Apr 2012 06:12:48 +0000 (+0800) Subject: rk30: cpufreq: fix transition_latency for ondemand governor X-Git-Tag: firefly_0821_release~9432 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5d7f2844c0aab91b30523f34ced9afd2054d9d75;p=firefly-linux-kernel-4.4.55.git rk30: cpufreq: fix transition_latency for ondemand governor --- diff --git a/arch/arm/mach-rk30/cpufreq.c b/arch/arm/mach-rk30/cpufreq.c index e2d8eb3a2319..a2500ff5f052 100755 --- a/arch/arm/mach-rk30/cpufreq.c +++ b/arch/arm/mach-rk30/cpufreq.c @@ -246,8 +246,7 @@ static int rk30_cpu_init(struct cpufreq_policy *policy) policy->cur = rk30_getspeed(0); - /* FIXME: what's the actual transition time? */ - policy->cpuinfo.transition_latency = 300 * 1000; + policy->cpuinfo.transition_latency = 40 * NSEC_PER_USEC; // make ondemand default sampling_rate to 40000 /*