Skip to content

Commit 9de44e1

Browse files
Sarah Sharpgregkh
authored andcommitted
xhci: Fix resume issues on Renesas chips in Samsung laptops
commit 1aa9578 upstream. Don Zickus <dzickus@redhat.com> writes: Some co-workers of mine bought Samsung laptops that had mostly usb3 ports. Those ports did not resume correctly (the driver would timeout communicating and fail). This led to frustration as suspend/resume is a common use for laptops. Poking around, I applied the reset on resume quirk to this chipset and the resume started working. Reloading the xhci_hcd module had been the temporary workaround. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Reported-by: Don Zickus <dzickus@redhat.com> Tested-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 37a5b5f commit 9de44e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎drivers/usb/host/xhci-pci.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
142142
"QUIRK: Resetting on resume");
143143
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
144144
}
145+
if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
146+
pdev->device == 0x0015 &&
147+
pdev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG &&
148+
pdev->subsystem_device == 0xc0cd)
149+
xhci->quirks |= XHCI_RESET_ON_RESUME;
145150
if (pdev->vendor == PCI_VENDOR_ID_VIA)
146151
xhci->quirks |= XHCI_RESET_ON_RESUME;
147152
}

0 commit comments

Comments
 (0)