1 --- a/drivers/usb/dwc2/platform.c
2 +++ b/drivers/usb/dwc2/platform.c
3 @@ -498,6 +498,12 @@ static int dwc2_driver_probe(struct plat
7 + /* Enable USB port before any regs access */
8 + if (readl(hsotg->regs + PCGCTL) & 0x0f) {
9 + writel(0x00, hsotg->regs + PCGCTL);
10 + /* TODO: mdelay(25) here? vendor driver don't use it */
13 hsotg->needs_byte_swap = dwc2_check_core_endianness(hsotg);
15 retval = dwc2_get_dr_mode(hsotg);