summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Jingyu <b02241@shlinux1.ap.freescale.net>2009-12-07 13:43:18 +0800
committerJustin Waters <justin.waters@timesys.com>2010-03-25 14:01:38 -0400
commit717d78af9a2c5cc8cd786b58c8c8d50a7956ca64 (patch)
tree4c6fd98b60dfbe5a883576d50c8c539bafe81ba3
parentbe62816bfbc56e39a3c0ae065b5f4f8ec35b0b5a (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 */