aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@freescale.com>2011-03-17 14:06:59 +0800
committerZhou Jingyu <b02241@freescale.com>2011-03-23 10:13:18 +0800
commitbc676214b92db468c7b72dc495312809dbfc37bf (patch)
treeddf67c59249c07f0e28a2b4e94836773f0e39ac6
parentd42c2893f181c004f4d6dc021bdc34fa6bed2818 (diff)
ENGR00140763 MX53: By default only enable da9053 irq as wakeup sourcerel_imx_2.6.35_11.03.00
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);