summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-arc.c
diff options
context:
space:
mode:
authormake shi <b15407@freescale.com>2012-09-20 17:15:26 +0800
committermake shi <b15407@freescale.com>2012-09-25 09:38:21 +0800
commit8df9e0f011262da4440c9be66839deb1b22a68ac (patch)
tree51201f14b3f4858973e502a7d1fa339ca0a394aa /drivers/usb/host/ehci-arc.c
parent26b602eab8769b2fa78f38f0de175973247c53aa (diff)
ENGR00225131-05 MX6 USB: set stop_mode_config bit if wake up is enabled
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. - Set stop_mode_config bit if USB host need support USB remote wake up - Set stop_mode_config bit if USB device need support USB DP/DM wake up system Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'drivers/usb/host/ehci-arc.c')
-rwxr-xr-xdrivers/usb/host/ehci-arc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c
index b872d94b3fc3..e09f4dfd05d9 100755
--- a/drivers/usb/host/ehci-arc.c
+++ b/drivers/usb/host/ehci-arc.c
@@ -678,6 +678,9 @@ static int ehci_fsl_drv_suspend(struct platform_device *pdev,
usb_host_set_wakeup(hcd->self.controller, false);
fsl_usb_clk_gate(hcd->self.controller->platform_data, false);
+ } else {
+ if (pdata->platform_phy_power_on)
+ pdata->platform_phy_power_on();
}
printk(KERN_DEBUG "host suspend ends\n");