]>
Commit | Line | Data |
---|---|---|
dfaf64ad GKH |
1 | From 40fc165304f0faaae78b761f8ee30b5d216b1850 Mon Sep 17 00:00:00 2001 |
2 | From: Yasushi Asano <yasano@jp.adit-jv.com> | |
3 | Date: Mon, 18 Feb 2019 11:26:34 +0100 | |
4 | Subject: usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk | |
5 | ||
6 | From: Yasushi Asano <yasano@jp.adit-jv.com> | |
7 | ||
8 | commit 40fc165304f0faaae78b761f8ee30b5d216b1850 upstream. | |
9 | ||
10 | When plugging BUFFALO LUA4-U3-AGT USB3.0 to Gigabit Ethernet LAN | |
11 | Adapter, 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 | ||
17 | Adding the XHCI_TRUST_TX_LENGTH quirk resolves the issue. | |
18 | ||
19 | Signed-off-by: Yasushi Asano <yasano@jp.adit-jv.com> | |
20 | Signed-off-by: Spyridon Papageorgiou <spapageorgiou@de.adit-jv.com> | |
21 | Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | |
22 | Cc: stable <stable@vger.kernel.org> | |
23 | Signed-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 |