Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mathias Nyman and committed by
Greg Kroah-Hartman
31128e74 9044ad57

+1 -1
+1 -1
drivers/usb/host/xhci-dbgtty.c
··· 346 346 port->n_read = 0; 347 347 } 348 348 349 - list_move(&req->list_pool, &port->read_pool); 349 + list_move_tail(&req->list_pool, &port->read_pool); 350 350 } 351 351 352 352 if (do_push)