Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcae3573 authored by Pratyush Anand's avatar Pratyush Anand Committed by Felipe Balbi
Browse files

usb: dwc3: resume phy during gadget initialization on recent cores



It is needed to enumerate recent cores like 2.10a.

Signed-off-by: default avatarPratyush Anand <pratyush.anand@st.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 7e39b817
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);