]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.19.33/usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.19.33 / usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch
CommitLineData
dfaf64ad
GKH
1From 40fc165304f0faaae78b761f8ee30b5d216b1850 Mon Sep 17 00:00:00 2001
2From: Yasushi Asano <yasano@jp.adit-jv.com>
3Date: Mon, 18 Feb 2019 11:26:34 +0100
4Subject: usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
5
6From: Yasushi Asano <yasano@jp.adit-jv.com>
7
8commit 40fc165304f0faaae78b761f8ee30b5d216b1850 upstream.
9
10When plugging BUFFALO LUA4-U3-AGT USB3.0 to Gigabit Ethernet LAN
11Adapter, warning messages filled up dmesg.
12
13[ 101.098287] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk?
14[ 101.117463] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk?
15[ 101.136513] xhci-hcd ee000000.usb: WARN Successful completion on short TX for slot 1 ep 4: needs XHCI_TRUST_TX_LENGTH quirk?
16
17Adding the XHCI_TRUST_TX_LENGTH quirk resolves the issue.
18
19Signed-off-by: Yasushi Asano <yasano@jp.adit-jv.com>
20Signed-off-by: Spyridon Papageorgiou <spapageorgiou@de.adit-jv.com>
21Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
22Cc: stable <stable@vger.kernel.org>
23Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24
25---
26 drivers/usb/host/xhci-rcar.c | 1 +
27 1 file changed, 1 insertion(+)
28
29--- a/drivers/usb/host/xhci-rcar.c
30+++ b/drivers/usb/host/xhci-rcar.c
31@@ -246,6 +246,7 @@ int xhci_rcar_init_quirk(struct usb_hcd
32 if (!xhci_rcar_wait_for_pll_active(hcd))
33 return -ETIMEDOUT;
34
35+ xhci->quirks |= XHCI_TRUST_TX_LENGTH;
36 return xhci_rcar_download_firmware(hcd);
37 }
38