Skip to content

Commit 17bd545

Browse files
kichianggregkh
authored andcommitted
xhci: Apply reset resume quirk to Etron EJ188 xHCI host
As described in commit c877b3b ("xhci: Add reset on resume quirk for asrock p67 host"), EJ188 have the same issue as EJ168, where completely dies on resume. So apply XHCI_RESET_ON_RESUME quirk to EJ188 as well. Cc: [email protected] Signed-off-by: Kuangyi Chiang <[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 f026058 commit 17bd545

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/usb/host/xhci-pci.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
#define PCI_VENDOR_ID_ETRON 0x1b6f
3838
#define PCI_DEVICE_ID_EJ168 0x7023
39+
#define PCI_DEVICE_ID_EJ188 0x7052
3940

4041
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_XHCI 0x8c31
4142
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_XHCI 0x9c31
@@ -395,6 +396,10 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
395396
xhci->quirks |= XHCI_RESET_ON_RESUME;
396397
xhci->quirks |= XHCI_BROKEN_STREAMS;
397398
}
399+
if (pdev->vendor == PCI_VENDOR_ID_ETRON &&
400+
pdev->device == PCI_DEVICE_ID_EJ188)
401+
xhci->quirks |= XHCI_RESET_ON_RESUME;
402+
398403
if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
399404
pdev->device == 0x0014) {
400405
xhci->quirks |= XHCI_ZERO_64B_REGS;

0 commit comments

Comments
 (0)