diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-03-20 00:16:40 +0100 |
---|---|---|
committer | Robert Lee <b18647@b18647-12.(none)> | 2012-03-19 20:42:47 -0500 |
commit | 85141dd3025c5c41d921220ddac6fdb8e2393040 (patch) | |
tree | f2dc9295a813d17ad639031029055a4021092232 | |
parent | 6f67c47532b20be74f2201589a98ceec2209ea09 (diff) |
disable the cpuidle for the db5500 board
As the different prcmu routines are not supporting the db5500
board and will return EINVAL, it is pointless to use the other
states than WFI.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | arch/arm/mach-ux500/cpuidle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpuidle.c b/arch/arm/mach-ux500/cpuidle.c index 9aabfefc28d..04be6ed51ed 100644 --- a/arch/arm/mach-ux500/cpuidle.c +++ b/arch/arm/mach-ux500/cpuidle.c @@ -118,6 +118,11 @@ int __init ux500_idle_init(void) int ret, cpu; struct cpuidle_device *device; + if (machine_is_u5500()) { + printk(KERN_WARNING "cpuidle: u5500 not supported\n"); + return -ENOSYS; + } + /* Configure wake up reasons */ prcmu_enable_wakeups(PRCMU_WAKEUP(ARM) | PRCMU_WAKEUP(RTC) | PRCMU_WAKEUP(ABB)); |