diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2012-12-04 05:10:45 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-07 10:03:43 -0500 |
commit | ec6691239373395d64fb73f50444f09a6f29d5ef (patch) | |
tree | 5a92e274069225396051e3b12d6b82d6cdd8175b /drivers/cpufreq/dbx500-cpufreq.c | |
parent | 6f179b724b1488ead0acc1a04f2adade99ca0736 (diff) |
cpufreq: db8500: set CPUFREQ_CONST_LOOPS
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>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/cpufreq/dbx500-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/dbx500-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/dbx500-cpufreq.c b/drivers/cpufreq/dbx500-cpufreq.c index 047fc4f8fded..9a623753dee2 100644 --- a/drivers/cpufreq/dbx500-cpufreq.c +++ b/drivers/cpufreq/dbx500-cpufreq.c | |||
@@ -125,7 +125,7 @@ static int __cpuinit dbx500_cpufreq_init(struct cpufreq_policy *policy) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | static struct cpufreq_driver dbx500_cpufreq_driver = { | 127 | static struct cpufreq_driver dbx500_cpufreq_driver = { |
128 | .flags = CPUFREQ_STICKY, | 128 | .flags = CPUFREQ_STICKY | CPUFREQ_CONST_LOOPS, |
129 | .verify = dbx500_cpufreq_verify_speed, | 129 | .verify = dbx500_cpufreq_verify_speed, |
130 | .target = dbx500_cpufreq_target, | 130 | .target = dbx500_cpufreq_target, |
131 | .get = dbx500_cpufreq_getspeed, | 131 | .get = dbx500_cpufreq_getspeed, |