usb: xhci: ASMedia ASM1042A chipset need shorts TX quirk
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Fri, 9 Jun 2017 11:48:41 +0000 (14:48 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 15 Sep 2017 17:30:53 +0000 (18:30 +0100)
commit466621f4858c27d263a3f5ce6c9f15d1c5bd4cfc
tree4aa64cf8af1c2dc113da9282e9ea282046729d2d
parent967342f4e0154f53f7d30cd0fc7c49c236f75230
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/host/xhci-pci.c