diff options
author | make shi <b15407@freescale.com> | 2012-08-16 15:44:11 +0800 |
---|---|---|
committer | make shi <b15407@freescale.com> | 2012-08-17 16:49:53 +0800 |
commit | 7e3d9c6385f56469cb37b448fb3f3cd8c88772ae (patch) | |
tree | 2d4b1851073d504a8acf2ca2f6d6d63906facd3e /drivers | |
parent | 91996ef19cd9da4eeb0f941ecd696ce6c3249c4c (diff) |
ENGR00220440 Mx6:USB device: clear OWIE before phy out of low power mode
There is a limitation on mx6 phy low power flow. During phy enter low power mode
and out of low power mode with OWIE bit active,there will be abnormal usb wakeup
interrupt happen. So we should clear OWIE bit before phy out of low power mode.
Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/usb/gadget/arcotg_udc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/arcotg_udc.c b/drivers/usb/gadget/arcotg_udc.c index eedd1498ef89..bab3ec92a6b7 100755 --- a/drivers/usb/gadget/arcotg_udc.c +++ b/drivers/usb/gadget/arcotg_udc.c @@ -3465,6 +3465,7 @@ static int fsl_udc_resume(struct platform_device *pdev) */ if (udc_controller->suspended && !udc_controller->stopped) { dr_clk_gate(true); + dr_wake_up_enable(udc_controller, false); dr_phy_low_power_mode(udc_controller, false); } /* Enable DR irq reg and set controller Run */ |