summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasushi Asano <yasano@jp.adit-jv.com>2019-02-18 11:26:34 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-03 06:24:19 +0200
commit94502785ef270d53e2e475f902d875d35b060f13 (patch)
tree5dc40e12ab05f598b7a7d46613caac59142bc3c2
parent1137f3f8265d7b9ff2886b2a62242ba22deb7130 (diff)
downloadlinux-94502785ef270d53e2e475f902d875d35b060f13.tar.gz
linux-94502785ef270d53e2e475f902d875d35b060f13.tar.bz2
linux-94502785ef270d53e2e475f902d875d35b060f13.zip
usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
commit 40fc165304f0faaae78b761f8ee30b5d216b1850 upstream. When plugging BUFFALO LUA4-U3-AGT USB3.0 to Gigabit Ethernet LAN Adapter, warning messages filled up dmesg. [ 101.098287] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? [ 101.117463] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? [ 101.136513] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk? Adding the XHCI_TRUST_TX_LENGTH quirk resolves the issue. Signed-off-by: Yasushi Asano <yasano@jp.adit-jv.com> Signed-off-by: Spyridon Papageorgiou <spapageorgiou@de.adit-jv.com> Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/xhci-rcar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-rcar.c b/drivers/usb/host/xhci-rcar.c
index 0e4535e632ec..64ee8154f2bb 100644
--- a/drivers/usb/host/xhci-rcar.c
+++ b/drivers/usb/host/xhci-rcar.c
@@ -192,5 +192,6 @@ int xhci_rcar_init_quirk(struct usb_hcd *hcd)
xhci_rcar_is_gen3(hcd->self.controller))
xhci->quirks |= XHCI_NO_64BIT_SUPPORT;
+ xhci->quirks |= XHCI_TRUST_TX_LENGTH;
return xhci_rcar_download_firmware(hcd);
}