Skip to content

Commit bb1e5dd

Browse files
Russell WebbSarah Sharp
Russell Webb
authored and
Sarah Sharp
committed
xhci: Add Lynx Point LP to list of Intel switchable hosts
Like Lynx Point, Lynx Point LP is also switchable. See 1c12443 for more details. This patch should be backported to stable kernels as old as 3.0, that contain commit 69e848c "Intel xhci: Support EHCI/xHCI port switching." Signed-off-by: Russell Webb <[email protected]> Signed-off-by: Sarah Sharp <[email protected]> Cc: [email protected]
1 parent ffa5c41 commit bb1e5dd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

drivers/usb/host/ehci-pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ static bool usb_is_intel_switchable_ehci(struct pci_dev *pdev)
330330
pdev->vendor == PCI_VENDOR_ID_INTEL &&
331331
(pdev->device == 0x1E26 ||
332332
pdev->device == 0x8C2D ||
333-
pdev->device == 0x8C26);
333+
pdev->device == 0x8C26 ||
334+
pdev->device == 0x9C26);
334335
}
335336

336337
static void ehci_enable_xhci_companion(void)

drivers/usb/host/pci-quirks.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ static int handshake(void __iomem *ptr, u32 mask, u32 done,
723723
}
724724

725725
#define PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI 0x8C31
726+
#define PCI_DEVICE_ID_INTEL_LYNX_POINT_LP_XHCI 0x9C31
726727

727728
bool usb_is_intel_ppt_switchable_xhci(struct pci_dev *pdev)
728729
{
@@ -736,7 +737,8 @@ bool usb_is_intel_lpt_switchable_xhci(struct pci_dev *pdev)
736737
{
737738
return pdev->class == PCI_CLASS_SERIAL_USB_XHCI &&
738739
pdev->vendor == PCI_VENDOR_ID_INTEL &&
739-
pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI;
740+
(pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_XHCI ||
741+
pdev->device == PCI_DEVICE_ID_INTEL_LYNX_POINT_LP_XHCI);
740742
}
741743

742744
bool usb_is_intel_switchable_xhci(struct pci_dev *pdev)

0 commit comments

Comments
 (0)