diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2012-12-04 11:10:45 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-06 23:55:51 +0100 |
commit | f644f2260aba851219e751a68ed2d37d6306fa0a (patch) | |
tree | f8d956a2383f3c6af9e1a3d3c972b29ec8adb536 | |
parent | f192af44d8c8c859bb66c7622ed59473cf705460 (diff) |
cpufreq: db8500: set CPUFREQ_CONST_LOOPSclksrc-mtu-for-arm-soc
As ux500 is being converted to timer based delay loops, and the timer
used is not depending on CPUs clock frequency, set cpufreq_driver flag
CPUFREQ_CONST_LOOPS to prevent cpufreq rescaling loops_for_jiffies.
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/cpufreq/db8500-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/db8500-cpufreq.c b/drivers/cpufreq/db8500-cpufreq.c index 4f154bc0ebe4..c5027e01d2b7 100644 --- a/drivers/cpufreq/db8500-cpufreq.c +++ b/drivers/cpufreq/db8500-cpufreq.c @@ -136,7 +136,7 @@ static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy) } static struct cpufreq_driver db8500_cpufreq_driver = { - .flags = CPUFREQ_STICKY, + .flags = CPUFREQ_STICKY | CPUFREQ_CONST_LOOPS, .verify = db8500_cpufreq_verify_speed, .target = db8500_cpufreq_target, .get = db8500_cpufreq_getspeed, |