Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xhci: add restart quirk for Intel Wildcatpoint PCH

xHC in Wildcatpoint-LP PCH is similar to LynxPoint-LP and need the
same quirks to prevent machines from spurious restart while
shutting them down.

Reported-by: Hasan Mahmood <hasan.mahm@gmail.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Mathias Nyman and committed by
Greg Kroah-Hartman
4c39135a 1ee1710c

+3 -1
+3 -1
drivers/usb/host/xhci-pci.c
··· 45 45 46 46 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31 47 47 #define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31 48 + #define PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI 0x9cb1 48 49 #define PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI 0x22b5 49 50 #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_H_XHCI 0xa12f 50 51 #define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_LP_XHCI 0x9d2f ··· 154 153 xhci->quirks |= XHCI_SPURIOUS_REBOOT; 155 154 } 156 155 if (pdev->vendor == PCI_VENDOR_ID_INTEL && 157 - pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI) { 156 + (pdev->device == PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI || 157 + pdev->device == PCI_DEVICE_ID_INTEL_WILDCATPOINT_LP_XHCI)) { 158 158 xhci->quirks |= XHCI_SPURIOUS_REBOOT; 159 159 xhci->quirks |= XHCI_SPURIOUS_WAKEUP; 160 160 }