projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b16541
)
rk30: cpufreq: fix transition_latency for ondemand governor
author
黄涛
<huangtao@rock-chips.com>
Wed, 11 Apr 2012 06:12:48 +0000
(14:12 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Wed, 11 Apr 2012 06:12:48 +0000
(14:12 +0800)
arch/arm/mach-rk30/cpufreq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/cpufreq.c
b/arch/arm/mach-rk30/cpufreq.c
index e2d8eb3a2319d95fab09a1a8d480128a99186089..a2500ff5f05268c409cacec9e1991577f5218829 100755
(executable)
--- 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
/*