]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic
authorMathias Nyman <mathias.nyman@linux.intel.com>
Tue, 17 Dec 2024 10:21:21 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 12:28:44 +0000 (13:28 +0100)
commit590bd0f9148f145d9761294b9aef777f3a13a07f
tree3538467fca74da05e0d2aaff0cf26c25c8e398df
parent62756ca746e2fafa39ad8c0533dda7396635cb63
xhci: Turn NEC specific quirk for handling Stop Endpoint errors generic

[ Upstream commit e21ebe51af688eb98fd6269240212a3c7300deea ]

xHC hosts from several vendors have the same issue where endpoints start
so slowly that a later queued 'Stop Endpoint' command may complete before
endpoint is up and running.

The 'Stop Endpoint' command fails with context state error as the endpoint
still appears as  stopped.

See commit 42b758137601 ("usb: xhci: Limit Stop Endpoint retries") for
details

CC: stable@vger.kernel.org
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241217102122.2316814-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/host/xhci-ring.c