CC: kernel: update 3.18 to 3.18.17
[15.05/openwrt.git] / target / linux / lantiq / patches-3.18 / 0042-USB-DWC2-big-endian-support.patch
index d1b23fc..0455d35 100644 (file)
                                "ClearPortFeature USB_PORT_FEAT_SUSPEND\n");
 -                      writel(0, hsotg->regs + PCGCTL);
 +                      dwc2_writel(0, hsotg->regs + PCGCTL);
-                       usleep_range(20000, 40000);
+                       msleep(USB_RESUME_TIMEOUT);
  
                        hprt0 = dwc2_read_hprt0(hsotg);
                        hprt0 |= HPRT0_RES;