Merge pull request #536 from wigyori/cc-sec
[15.05/openwrt.git] / target / linux / mvebu / patches-3.18 / 700-usb_xhci_plat_phy_support.patch
index 7631b6c..93666db 100644 (file)
@@ -37,8 +37,8 @@
  put_usb3_hcd:
        usb_put_hcd(xhci->shared_hcd);
  
-@@ -190,6 +206,7 @@ static int xhci_plat_remove(struct platf
-       struct clk *clk = xhci->clk;
+@@ -192,6 +208,7 @@ static int xhci_plat_remove(struct platf
+       xhci->xhc_state |= XHCI_STATE_REMOVING;
  
        usb_remove_hcd(xhci->shared_hcd);
 +      usb_phy_shutdown(hcd->usb_phy);