Skip to content

Commit f886d4f

Browse files
Nehal Bakulchandra Shahgregkh
authored andcommitted
usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
AMD's Yellow Carp platform has few more XHCI controllers, enable the runtime power management support for the same. Signed-off-by: Nehal Bakulchandra Shah <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent fac6bf8 commit f886d4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_4 0x161e
7272
#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_5 0x15d6
7373
#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6 0x15d7
74+
#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_7 0x161c
75+
#define PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_8 0x161f
7476

7577
#define PCI_DEVICE_ID_ASMEDIA_1042_XHCI 0x1042
7678
#define PCI_DEVICE_ID_ASMEDIA_1042A_XHCI 0x1142
@@ -330,7 +332,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
330332
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_3 ||
331333
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_4 ||
332334
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_5 ||
333-
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6))
335+
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_6 ||
336+
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_7 ||
337+
pdev->device == PCI_DEVICE_ID_AMD_YELLOW_CARP_XHCI_8))
334338
xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW;
335339

336340
if (xhci->quirks & XHCI_RESET_ON_RESUME)

0 commit comments

Comments
 (0)