xhci-pci: don't enable runtime PM for Alpine Ridge on Maximus VIII Impact
Subsystems (2)
This fixes a regression since: 2815ef7fe4d43072b9eda448d04fbc184f2aa513
This motherboard is a strange beast, with an Alpine Ridge thunderbolt controller configured to only do USB with no actual thunderbolt capabilities (Apparently due to the wiring not being thunderbolt compliant).
When runtime PM is enabled in this case, plugging in a USB device results in nothing being detected. Everything works fine when runtime PM is not enabled.
Signed-off-by Philip Langdale <[email protected]>
--- drivers/usb/host/xhci-pci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/usb/host/xhci-pci.c +3 -1
@@ -211,7 +211,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) pdev->device ==PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI || pdev->device ==PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI || pdev->device ==PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_XHCI || - pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI)) + pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_DD_XHCI) && + pdev->subsystem_vendor !=0x2222 && + pdev->subsystem_device != 0x1111) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON &&