summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/pm.c
diff options
context:
space:
mode:
authormake shi <b15407@freescale.com>2012-09-20 15:11:46 +0800
committermake shi <b15407@freescale.com>2012-09-25 09:37:40 +0800
commitfd9e5a74f5e5afff09c13c964c1dac86ec8e5fc4 (patch)
tree4242ec098fe744ad7f501369c9a398d89df2aa91 /arch/arm/mach-mx6/pm.c
parent0383bc64826a17049cfc81d58c0cf0445e69a4d7 (diff)
ENGR00225131-01 USB: revert ENGR00221317-02 about set stop_mode_config patch
IC designer had clarified that 1P1 can be turned off if we do not need support remote wakeup. So If there is no requirement for USB remote wake up, the 1P1 can be turn off. USB driver will support dynamically turn on(off) 1P1 during system suspend. 1P1 will be turn on depend on USB wakeup is enabled. This reverts commit c6f69925f9d1f39ccc8c6fcc583122fcf03c105c. Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/pm.c')
-rw-r--r--arch/arm/mach-mx6/pm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-mx6/pm.c b/arch/arm/mach-mx6/pm.c
index ddce7beca6d3..20139e0b9594 100644
--- a/arch/arm/mach-mx6/pm.c
+++ b/arch/arm/mach-mx6/pm.c
@@ -38,7 +38,6 @@
#endif
#include "crm_regs.h"
#include "src-reg.h"
-#include "regs-anadig.h"
#define SCU_CTRL_OFFSET 0x00
#define GPC_IMR1_OFFSET 0x08
@@ -123,11 +122,6 @@ static void usb_power_down_handler(void)
{
u32 temp;
bool usb_oh3_clk_already_on;
- if ((__raw_readl(anatop_base + HW_ANADIG_ANA_MISC0)
- & BM_ANADIG_ANA_MISC0_STOP_MODE_CONFIG) != 0) {
- usb_vbus_wakeup_enabled = false;
- return;
- }
/* enable usb oh3 clock if needed*/
temp = __raw_readl(MXC_CCM_CCGR6);
usb_oh3_clk_already_on = \