]> www.infradead.org Git - users/dwmw2/linux.git/commit
usb: xhci: fix ring expansion regression in 6.13-rc1
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Tue, 17 Dec 2024 10:21:22 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2024 10:59:09 +0000 (11:59 +0100)
commitb9252f80b807801056e67e3a672fb1be0ecb81d8
tree65fcba363cadf8cd0fde15b1d0bc4b2feb2d70d6
parente21ebe51af688eb98fd6269240212a3c7300deea
usb: xhci: fix ring expansion regression in 6.13-rc1

The source and destination rings were incorrectly assigned during the ring
linking process. The "source" ring, which contains the new segments,
was not spliced into the "destination" ring, leading to incorrect ring
expansion.

Fixes: fe688e500613 ("usb: xhci: refactor xhci_link_rings() to use source and destination rings")
Reported-by: Jeff Chua <jeff.chua.linux@gmail.com>
Closes: https://lore.kernel.org/lkml/CAAJw_ZtppNqC9XA=-WVQDr+vaAS=di7jo15CzSqONeX48H75MA@mail.gmail.com/
Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241217102122.2316814-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c