usb: pci-quirks: Prevent Sony VAIO t-series from switching usb ports
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / pci-quirks.c
index 00661d305143f4f7514e7044187299b639020009..4a6d3dd68572b82127b40794aa86b9fa4243e6f7 100644 (file)
@@ -847,6 +847,13 @@ void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev)
        bool            ehci_found = false;
        struct pci_dev  *companion = NULL;
 
+       /* Sony VAIO t-series with subsystem device ID 90a8 is not capable of
+        * switching ports from EHCI to xHCI
+        */
+       if (xhci_pdev->subsystem_vendor == PCI_VENDOR_ID_SONY &&
+           xhci_pdev->subsystem_device == 0x90a8)
+               return;
+
        /* make sure an intel EHCI controller exists */
        for_each_pci_dev(companion) {
                if (companion->class == PCI_CLASS_SERIAL_USB_EHCI &&