summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-03-20 00:16:40 +0100
committerRobert Lee <b18647@b18647-12.(none)>2012-03-19 20:42:47 -0500
commit85141dd3025c5c41d921220ddac6fdb8e2393040 (patch)
treef2dc9295a813d17ad639031029055a4021092232
parent6f67c47532b20be74f2201589a98ceec2209ea09 (diff)
downloadlinux-linaro-tracking-with-fixes-tracking-linaro_cpuidle.tar.gz
disable the cpuidle for the db5500 boardtracking-linaro_cpuidle-3.3-2012.03-2tracking-linaro_cpuidle
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.c5
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));