From ec6691239373395d64fb73f50444f09a6f29d5ef Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 4 Dec 2012 11:10:45 +0100 Subject: 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 Acked-by: Rafael J. Wysocki Signed-off-by: Fabio Baltieri Signed-off-by: Linus Walleij --- drivers/cpufreq/dbx500-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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) } 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, -- cgit v1.2.2