]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
authorJens Glathe <jens.glathe@oldschoolsolutions.biz>
Mon, 24 Oct 2022 14:27:17 +0000 (17:27 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 28 Nov 2022 14:18:04 +0000 (15:18 +0100)
commitdb2ed3828c98a042827f675e60ff42ad1ecbed60
treec7f73143c735818fdb4eaaa7525ba2d5a4dcdf92
parent8bd1ea55b2cede8e0922a1f438d3c3a76630d23d
usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller

BugLink: https://bugs.launchpad.net/bugs/1997981
commit 4f547472380136718b56064ea5689a61e135f904 upstream.

This appears to fix the error:
"xhci_hcd <address>; ERROR Transfer event TRB DMA ptr not part of
current TD ep_index 2 comp_code 13" that appear spuriously (or pretty
often) when using a r8152 USB3 ethernet adapter with integrated hub.

ASM1042 reports as a 0.96 controller, but appears to behave more like 1.0

Inspired by this email thread: https://markmail.org/thread/7vzqbe7t6du6qsw3

Cc: stable@vger.kernel.org
Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20221024142720.4122053-2-mathias.nyman@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/host/xhci-pci.c