summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2012-06-06 16:06:17 +0200
committerFelipe Balbi <balbi@ti.com>2012-06-06 16:37:41 +0200
commitdcae3573b98b2205961bfa5821427f5664422cd8 (patch)
tree7156a6421e90b8d81f285f1f896905e8b7784b30 /drivers/usb/dwc3
parentusb: dwc3: Correct DWC3_DCTL_HIRD_THRES definition (diff)
downloadlinux-dcae3573b98b2205961bfa5821427f5664422cd8.tar.xz
linux-dcae3573b98b2205961bfa5821427f5664422cd8.zip
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);