-
Christian Vogel authored
Queue up found IDs in a buffer and run the callback once for each found ID at the end. This is necessary because we hold the bus_mutex during the whole scan, and some of the "add-device" callbacks deadlock as they themselves want to mutex_lock(bus_mutex). Acked-by:
Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by:
Christian Vogel <vogelchr@vogel.cx> Link: https://lore.kernel.org/r/20210113195018.7498-3-vogelchr@vogel.cx Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
e3fe0e89Christian Vogel authoredQueue up found IDs in a buffer and run the callback once for each found ID at the end. This is necessary because we hold the bus_mutex during the whole scan, and some of the "add-device" callbacks deadlock as they themselves want to mutex_lock(bus_mutex). Acked-by:
Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by:
Christian Vogel <vogelchr@vogel.cx> Link: https://lore.kernel.org/r/20210113195018.7498-3-vogelchr@vogel.cx Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading