Lines 120-125
Link Here
|
120 |
*/ |
120 |
*/ |
121 |
xhci->quirks |= XHCI_SPURIOUS_REBOOT; |
121 |
xhci->quirks |= XHCI_SPURIOUS_REBOOT; |
122 |
xhci->quirks |= XHCI_AVOID_BEI; |
122 |
xhci->quirks |= XHCI_AVOID_BEI; |
|
|
123 |
/* |
124 |
* Workaround for occasional spurious wakeups from S5 on |
125 |
* Ivy Bridge machines with PPT |
126 |
*/ |
127 |
/* Limit the quirk to only known vendors, as this triggers |
128 |
* yet another BIOS bug on some other machines |
129 |
* https://bugzilla.kernel.org/show_bug.cgi?id=66171 |
130 |
*/ |
131 |
if (pdev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK || |
132 |
pdev->subsystem_vendor == PCI_VENDOR_ID_LENOVO) |
133 |
xhci->quirks |= XHCI_SPURIOUS_WAKEUP; |
123 |
} |
134 |
} |
124 |
if (pdev->vendor == PCI_VENDOR_ID_INTEL && |
135 |
if (pdev->vendor == PCI_VENDOR_ID_INTEL && |
125 |
(pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI || |
136 |
(pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI || |