* [PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
@ 2017-05-27 19:26 Corentin Labbe
2017-05-29 9:57 ` Mathias Nyman
0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2017-05-27 19:26 UTC (permalink / raw)
To: mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel, Corentin Labbe
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>
---
drivers/usb/host/xhci-pci.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index fcf1f3f63e7a..1bcf971141c0 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -201,6 +201,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
pdev->device == 0x1042)
xhci->quirks |= XHCI_BROKEN_STREAMS;
+ if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
+ pdev->device == 0x1142)
+ xhci->quirks |= XHCI_TRUST_TX_LENGTH;
if (pdev->vendor == PCI_VENDOR_ID_TI && pdev->device == 0x8241)
xhci->quirks |= XHCI_LIMIT_ENDPOINT_INTERVAL_7;
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
2017-05-27 19:26 [PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk Corentin Labbe
@ 2017-05-29 9:57 ` Mathias Nyman
0 siblings, 0 replies; 2+ messages in thread
From: Mathias Nyman @ 2017-05-29 9:57 UTC (permalink / raw)
To: Corentin Labbe, mathias.nyman, gregkh; +Cc: linux-usb, linux-kernel
On 27.05.2017 22:26, Corentin Labbe wrote:
> 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>
> ---
Thanks, adding
-Mathias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-29 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-27 19:26 [PATCH] usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk Corentin Labbe
2017-05-29 9:57 ` Mathias Nyman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox