mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9044ad57b6
commit
31128e7492
@@ -346,7 +346,7 @@ static void dbc_rx_push(struct tasklet_struct *t)
|
||||
port->n_read = 0;
|
||||
}
|
||||
|
||||
list_move(&req->list_pool, &port->read_pool);
|
||||
list_move_tail(&req->list_pool, &port->read_pool);
|
||||
}
|
||||
|
||||
if (do_push)
|
||||
|
||||
Reference in New Issue
Block a user