revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / xhci-hub.c
index 480936a870ce86da6835cc00fcd0b06b8d8164f8..a1a7a9795536c6c2bae9bb4a08f852cd9719cd57 100644 (file)
@@ -132,13 +132,6 @@ static u32 xhci_port_state_to_neutral(u32 state)
 static void xhci_disable_port(struct xhci_hcd *xhci, u16 wIndex,
                u32 __iomem *addr, u32 port_status)
 {
-       /* Don't allow the USB core to disable SuperSpeed ports. */
-       if (xhci->port_array[wIndex] == 0x03) {
-               xhci_dbg(xhci, "Ignoring request to disable "
-                               "SuperSpeed port.\n");
-               return;
-       }
-
        /* Write 1 to disable the port */
        xhci_writel(xhci, port_status | PORT_PE, addr);
        port_status = xhci_readl(xhci, addr);