summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@freescale.com>2011-03-17 14:06:59 +0800
committerAndy Voltz <andy.voltz@timesys.com>2011-06-01 13:21:08 -0400
commit7ca0350b8c0fbe95b24dd7f2f1da51055a04eb43 (patch)
treeddf67c59249c07f0e28a2b4e94836773f0e39ac6
parent59a1bff384a3766cda82bb185ac3d604a1b4ce51 (diff)
ENGR00140763 MX53: By default only enable da9053 irq as wakeup source
by default only enable da9053 irq as wakeup source for board with new OTP DA9053, need to reverse this patch to enable other irq wakeup Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
-rw-r--r--arch/arm/mach-mx5/pm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mx5/pm.c b/arch/arm/mach-mx5/pm.c
index dc2954cf5296..e1d4bfa7e2fd 100644
--- a/arch/arm/mach-mx5/pm.c
+++ b/arch/arm/mach-mx5/pm.c
@@ -125,8 +125,12 @@ static int mx5_suspend_enter(suspend_state_t state)
machine_is_mx53_loco()) {
mx53_smd_loco_irq_wake_fixup();
da9053_suspend_cmd_sw();
- } else
+ } else {
+ /* for new OTP DA9053 board, comment out next */
+ /* line to enable other irq for wakeup */
+ mx53_smd_loco_irq_wake_fixup();
da9053_suspend_cmd_hw();
+ }
}
/* Run the suspend code from iRAM. */
suspend_in_iram(suspend_param1);