Skip to content

Commit 621faf4

Browse files
khfenggregkh
authored andcommitted
xhci: Fix USB ports for Dell Inspiron 5775
The Dell Inspiron 5775 is a Raven Ridge. The Enable Slot command timed out when a USB device gets plugged: [ 212.156326] xhci_hcd 0000:03:00.3: Error while assigning device slot ID [ 212.156340] xhci_hcd 0000:03:00.3: Max number of devices this xHCI host supports is 64. [ 212.156348] usb usb2-port3: couldn't allocate usb_device AMD suggests that a delay before xHC suspends can fix the issue. I can confirm it fixes the issue, so use the suspend delay quirk for Raven Ridge's xHC. Cc: [email protected] Signed-off-by: Kai-Heng Feng <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 60cc43f commit 621faf4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
126126
if (pdev->vendor == PCI_VENDOR_ID_AMD && usb_amd_find_chipset_info())
127127
xhci->quirks |= XHCI_AMD_PLL_FIX;
128128

129-
if (pdev->vendor == PCI_VENDOR_ID_AMD && pdev->device == 0x43bb)
129+
if (pdev->vendor == PCI_VENDOR_ID_AMD &&
130+
(pdev->device == 0x15e0 ||
131+
pdev->device == 0x15e1 ||
132+
pdev->device == 0x43bb))
130133
xhci->quirks |= XHCI_SUSPEND_DELAY;
131134

132135
if (pdev->vendor == PCI_VENDOR_ID_AMD)

0 commit comments

Comments
 (0)