kernel: bump 4.14 to 4.14.44
[openwrt/staging/mkresin.git] / target / linux / generic / backport-4.14 / 030-v4.17-0001-usb-dwc2-add-support-for-host-mode-external-vbus-sup.patch
index f490639f39fb3f02bb2c20289428ee48178d214e..1154150259fd28129cf3021dfd59d2e064b98615 100644 (file)
@@ -63,7 +63,7 @@ Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
  /**
   * dwc2_enable_host_interrupts() - Enables the Host mode interrupts
   *
-@@ -3246,6 +3263,7 @@ static void dwc2_conn_id_status_change(s
+@@ -3276,6 +3293,7 @@ static void dwc2_conn_id_status_change(s
  
        /* B-Device connector (Device Mode) */
        if (gotgctl & GOTGCTL_CONID_B) {
@@ -71,7 +71,7 @@ Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
                /* Wait for switch to device mode */
                dev_dbg(hsotg->dev, "connId B\n");
                if (hsotg->bus_suspended) {
-@@ -4352,6 +4370,9 @@ static int _dwc2_hcd_start(struct usb_hc
+@@ -4382,6 +4400,9 @@ static int _dwc2_hcd_start(struct usb_hc
        }
  
        spin_unlock_irqrestore(&hsotg->lock, flags);
@@ -81,7 +81,7 @@ Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
        return 0;
  }
  
-@@ -4379,6 +4400,8 @@ static void _dwc2_hcd_stop(struct usb_hc
+@@ -4409,6 +4430,8 @@ static void _dwc2_hcd_stop(struct usb_hc
        clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
        spin_unlock_irqrestore(&hsotg->lock, flags);
  
@@ -90,7 +90,7 @@ Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
        usleep_range(1000, 3000);
  }
  
-@@ -4415,6 +4438,7 @@ static int _dwc2_hcd_suspend(struct usb_
+@@ -4445,6 +4468,7 @@ static int _dwc2_hcd_suspend(struct usb_
                hprt0 |= HPRT0_SUSP;
                hprt0 &= ~HPRT0_PWR;
                dwc2_writel(hprt0, hsotg->regs + HPRT0);
@@ -98,7 +98,7 @@ Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
        }
  
        /* Enter hibernation */
-@@ -4495,6 +4519,8 @@ static int _dwc2_hcd_resume(struct usb_h
+@@ -4525,6 +4549,8 @@ static int _dwc2_hcd_resume(struct usb_h
                spin_unlock_irqrestore(&hsotg->lock, flags);
                dwc2_port_resume(hsotg);
        } else {