mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
xhci: Switch only Intel Lynx Point-LP ports to EHCI on shutdown.
Patch "xhci: Switch Intel Lynx Point ports to EHCI on shutdown."
commit c09ec25d36
is not fully correct
It switches both Lynx Point and Lynx Point-LP ports to EHCI on shutdown.
On some Lynx Point machines it causes spurious interrupt,
which wake the system: bugzilla.kernel.org/show_bug.cgi?id=76291
On Lynx Point-LP on the contrary switching ports to EHCI seems to be
necessary to fix these spurious interrupts.
Signed-off-by: Denis Turischev <denis@compulab.co.il>
Reported-by: Wulf Richartz <wulf.richartz@gmail.com>
Cc: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3a0d89d3f8
commit
0a939993bf
1 changed files with 3 additions and 1 deletions
|
@ -134,7 +134,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
|
||||||
*/
|
*/
|
||||||
if (pdev->subsystem_vendor == PCI_VENDOR_ID_HP)
|
if (pdev->subsystem_vendor == PCI_VENDOR_ID_HP)
|
||||||
xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
|
xhci->quirks |= XHCI_SPURIOUS_WAKEUP;
|
||||||
|
}
|
||||||
|
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
|
||||||
|
pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) {
|
||||||
xhci->quirks |= XHCI_SPURIOUS_REBOOT;
|
xhci->quirks |= XHCI_SPURIOUS_REBOOT;
|
||||||
}
|
}
|
||||||
if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
|
if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
|
||||||
|
|
Loading…
Reference in a new issue