From f4dd6a1957d5bddd0afac62bda5a1add096e627a Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 30 Mar 2019 21:34:27 +0100 Subject: [PATCH] 4.9-stable patches added patches: usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch --- queue-4.9/series | 1 + ...-rcar-add-xhci_trust_tx_length-quirk.patch | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 queue-4.9/usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch diff --git a/queue-4.9/series b/queue-4.9/series index b1ab20d10a2..e3f4ce2a186 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -44,3 +44,4 @@ disable-kgdboc-failed-by-echo-space-to-sys-module-kgdboc-parameters-kgdboc.patch fs-proc-proc_sysctl.c-fix-null-pointer-dereference-in-put_links.patch gpio-adnp-fix-testing-wrong-value-in-adnp_gpio_direction_input.patch usb-common-consider-only-available-nodes-for-dr_mode.patch +usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch diff --git a/queue-4.9/usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch b/queue-4.9/usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch new file mode 100644 index 00000000000..b7537d913b3 --- /dev/null +++ b/queue-4.9/usb-host-xhci-rcar-add-xhci_trust_tx_length-quirk.patch @@ -0,0 +1,37 @@ +From 40fc165304f0faaae78b761f8ee30b5d216b1850 Mon Sep 17 00:00:00 2001 +From: Yasushi Asano +Date: Mon, 18 Feb 2019 11:26:34 +0100 +Subject: usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk + +From: Yasushi Asano + +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 +Signed-off-by: Spyridon Papageorgiou +Acked-by: Yoshihiro Shimoda +Cc: stable +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/usb/host/xhci-rcar.c | 1 + + 1 file changed, 1 insertion(+) + +--- 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 + 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); + } -- 2.47.2