From 85141dd3025c5c41d921220ddac6fdb8e2393040 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Tue, 20 Mar 2012 00:16:40 +0100 Subject: 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 --- arch/arm/mach-ux500/cpuidle.c | 5 +++++ 1 file changed, 5 insertions(+) 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)); -- cgit v1.2.3