summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2012-06-06 19:36:17 +0530
committerFelipe Balbi <balbi@ti.com>2012-06-06 17:37:41 +0300
commitdcae3573b98b2205961bfa5821427f5664422cd8 (patch)
tree7156a6421e90b8d81f285f1f896905e8b7784b30 /drivers/usb/dwc3
parent7e39b817ee64a8b67282c76f52aaabddc8a5cd26 (diff)
downloadlinux-dcae3573b98b2205961bfa5821427f5664422cd8.tar.bz2
usb: dwc3: resume phy during gadget initialization on recent cores
It is needed to enumerate recent cores like 2.10a. Signed-off-by: Pratyush Anand <pratyush.anand@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/gadget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 8e00756ee522..38cd13ffae9d 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -2449,8 +2449,8 @@ int __devinit dwc3_gadget_init(struct dwc3 *dwc)
dwc3_writel(dwc->regs, DWC3_DCTL, reg);
- dwc3_gadget_usb2_phy_suspend(dwc, true);
- dwc3_gadget_usb3_phy_suspend(dwc, true);
+ dwc3_gadget_usb2_phy_suspend(dwc, false);
+ dwc3_gadget_usb3_phy_suspend(dwc, false);
}
ret = device_register(&dwc->gadget.dev);