summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2010-11-25 15:43:40 +0800
committerAlan Tull <alan.tull@freescale.com>2011-02-03 16:32:00 -0600
commit6287e26624f2a05658ef261ec27e3210fc8cd835 (patch)
treea639f06b72773ac4fc303779ec6337d8f51bb3f9 /drivers/usb/host
parentcf5be8e3963298739607c6265fe3a97cd0c79f85 (diff)
ENGR00134056-2 usb: add low power mode and wakeup support for mx28 otg port
Add low power mode and wakeup support for mx28 otg port, and the host1 and otg port are fully verified for low power mode and wakeup function. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-arc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c
index 81583a09ad51..20416da6d75f 100644
--- a/drivers/usb/host/ehci-arc.c
+++ b/drivers/usb/host/ehci-arc.c
@@ -425,7 +425,8 @@ static int ehci_fsl_bus_resume(struct usb_hcd *hcd)
but the clock opens at wakeup routine
*/
fsl_usb_clk_gate(hcd->self.controller->platform_data, true);
- }
+ } else
+ pdata->wakeup_event = 0;
usb_host_set_wakeup(hcd->self.controller, false);
fsl_usb_lowpower_mode(pdata, false);
}