summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-12-07 13:43:18 +0800
committerZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-12-09 17:17:33 +0800
commite58ea0051c30b9762d3ad3cc6b45925053704eec (patch)
tree4c6fd98b60dfbe5a883576d50c8c539bafe81ba3
parent0f8f5b5cd3ac306d4145d6c191af44dea6c8a8c0 (diff)
ENGR00118946 imx23: enable wake up from USB 5V
enable wake up from USB 5V Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
-rw-r--r--drivers/power/stmp37xx/linux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/power/stmp37xx/linux.c b/drivers/power/stmp37xx/linux.c
index 2f76018321a7..e4e62f9cb066 100644
--- a/drivers/power/stmp37xx/linux.c
+++ b/drivers/power/stmp37xx/linux.c
@@ -959,9 +959,7 @@ static int stmp3xxx_bat_suspend(struct platform_device *pdev, pm_message_t msg)
mutex_lock(&info->sm_lock);
- /* disable 5v irq */
- __raw_writel(BM_POWER_CTRL_ENIRQ_VDD5V_GT_VDDIO,
- REGS_POWER_BASE + HW_POWER_CTRL_CLR);
+ /* enable USB 5v wake up so don't disable irq here*/
ddi_bc_SetDisable();
/* cancel state machine timer */