]> git.itanic.dy.fi Git - linux-stable/commit
xhci: Update last segment pointer after Event Ring expansion
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Oct 2023 10:29:12 +0000 (13:29 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 10:38:53 +0000 (12:38 +0200)
commit67ab841a177d3ea16cb2f30e517fdf0ad60afe8f
tree8d16cc4932fd8a850302fa352e1a4a06ca4855a1
parent35899f58fe13d385b1dbc33004e5a31bf2c18b7a
xhci: Update last segment pointer after Event Ring expansion

When expanding a ring at its "end", ring->last_seg needs to be updated
for Event Rings as well, not just for all the other ring types.

This is not a fix because ring expansion currently isn't done on the
Event Ring.  It's just in preparation for when it's added.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20231019102924.2797346-8-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c