Skip to content

Commit b45abac

Browse files
Oliver Neukumgregkh
authored andcommitted
xhci: no switching back on non-ULT Haswell
The switch back is limited to ULT even on HP. The contrary finding arose by bad luck in BIOS versions for testing. This fixes spontaneous resume from S3 on some HP laptops. Signed-off-by: Oliver Neukum <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d749947 commit b45abac

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,20 +127,6 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
127127
xhci->quirks |= XHCI_SPURIOUS_REBOOT;
128128
xhci->quirks |= XHCI_AVOID_BEI;
129129
}
130-
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
131-
(pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI ||
132-
pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI)) {
133-
/* Workaround for occasional spurious wakeups from S5 (or
134-
* any other sleep) on Haswell machines with LPT and LPT-LP
135-
* with the new Intel BIOS
136-
*/
137-
/* Limit the quirk to only known vendors, as this triggers
138-
* yet another BIOS bug on some other machines
139-
* https://bugzilla.kernel.org/show_bug.cgi?id=66171
140-
*/
141-
if (pdev->subsystem_vendor == PCI_VENDOR_ID_HP)
142-
xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
143-
}
144130
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
145131
pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) {
146132
xhci->quirks |= XHCI_SPURIOUS_REBOOT;

0 commit comments

Comments
 (0)