Skip to content

Commit 89c1599

Browse files
montjoiegregkh
authored andcommitted
usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
commit d2f48f05cd2a2a0a708fbfa45f1a00a87660d937 upstream. When plugging an USB webcam I see the following message: [106385.615559] xhci_hcd 0000:04:00.0: WARN Successful completion on short TX: needs XHCI_TRUST_TX_LENGTH quirk? [106390.583860] handle_tx_event: 913 callbacks suppressed With this patch applied, I get no more printing of this message. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5efd37f commit 89c1599

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/usb/host/xhci-pci.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
198198
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
199199
pdev->device == 0x1042)
200200
xhci->quirks |= XHCI_BROKEN_STREAMS;
201+
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
202+
pdev->device == 0x1142)
203+
xhci->quirks |= XHCI_TRUST_TX_LENGTH;
201204

202205
if (xhci->quirks & XHCI_RESET_ON_RESUME)
203206
xhci_dbg_trace(xhci, trace_xhci_dbg_quirks,

0 commit comments

Comments
 (0)