usb: dwc3: resume phy during gadget initialization on recent cores
authorPratyush Anand <pratyush.anand@st.com>
Wed, 6 Jun 2012 14:06:17 +0000 (19:36 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 6 Jun 2012 14:37:41 +0000 (17:37 +0300)
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>
drivers/usb/dwc3/gadget.c

index 8e00756ee522a87c532b3b136d125dd714c0854b..38cd13ffae9d1f86e0d387b55041d3d10b7a9d8a 100644 (file)
@@ -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);