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>
This commit is contained in:
parent
7e39b817ee
commit
dcae3573b9
1 changed files with 2 additions and 2 deletions
|
@ -2449,8 +2449,8 @@ int __devinit dwc3_gadget_init(struct dwc3 *dwc)
|
||||||
|
|
||||||
dwc3_writel(dwc->regs, DWC3_DCTL, reg);
|
dwc3_writel(dwc->regs, DWC3_DCTL, reg);
|
||||||
|
|
||||||
dwc3_gadget_usb2_phy_suspend(dwc, true);
|
dwc3_gadget_usb2_phy_suspend(dwc, false);
|
||||||
dwc3_gadget_usb3_phy_suspend(dwc, true);
|
dwc3_gadget_usb3_phy_suspend(dwc, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = device_register(&dwc->gadget.dev);
|
ret = device_register(&dwc->gadget.dev);
|
||||||
|
|
Loading…
Reference in a new issue