]> www.infradead.org Git - users/hch/misc.git/commit
xhci: dbc: add dbgtty request to end of list once it completes
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 5 Sep 2024 14:32:50 +0000 (17:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2024 14:39:21 +0000 (16:39 +0200)
commit31128e7492dc365a9ed37577b766e36c1193d369
treef2ae6f26d7f3860ee8facbf74600ad7d801319fd
parent9044ad57b60b0556d42b6f8aa218a68865e810a4
xhci: dbc: add dbgtty request to end of list once it completes

Make sure we move the requests from the read_queue to the end of the
read_pool list, avoiding looping and using the same one request all
the time.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240905143300.1959279-3-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-dbgtty.c