Skip to content

Commit 16263ab

Browse files
kbiosgregkh
authored andcommitted
usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
This controller timeouts during suspend (S3) with [ 240.521724] xhci_hcd 0000:30:00.3: WARN: xHC save state timeout [ 240.521729] xhci_hcd 0000:30:00.3: ERROR mismatched command completion event thus preventing the system from entering S3. Moreover it remains in an undefined state where some connected devices stop working until a reboot. Apply the XHCI_SUSPEND_DELAY quirk to make it suspend properly. CC: [email protected] Signed-off-by: Alberto Mattea <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 045706b commit 16263ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
136136
xhci->quirks |= XHCI_AMD_PLL_FIX;
137137

138138
if (pdev->vendor == PCI_VENDOR_ID_AMD &&
139-
(pdev->device == 0x15e0 ||
139+
(pdev->device == 0x145c ||
140+
pdev->device == 0x15e0 ||
140141
pdev->device == 0x15e1 ||
141142
pdev->device == 0x43bb))
142143
xhci->quirks |= XHCI_SUSPEND_DELAY;

0 commit comments

Comments
 (0)