diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2012-12-04 10:10:45 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-07 15:03:43 (GMT) |
commit | ec6691239373395d64fb73f50444f09a6f29d5ef (patch) | |
tree | 5a92e274069225396051e3b12d6b82d6cdd8175b /drivers/cpufreq/dbx500-cpufreq.c | |
parent | 6f179b724b1488ead0acc1a04f2adade99ca0736 (diff) | |
download | linux-ec6691239373395d64fb73f50444f09a6f29d5ef.tar.xz |
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 047fc4f..9a62375 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) } static struct cpufreq_driver dbx500_cpufreq_driver = { - .flags = CPUFREQ_STICKY, + .flags = CPUFREQ_STICKY | CPUFREQ_CONST_LOOPS, .verify = dbx500_cpufreq_verify_speed, .target = dbx500_cpufreq_target, .get = dbx500_cpufreq_getspeed, |