1
0
Fork 0
alistair23-linux/drivers/w1/masters
Christian Vogel e3fe0e89fe w1/masters/ds2490: queue up found IDs during scan
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>
2021-01-20 18:50:21 +01:00
..
Kconfig w1: add 1-wire master driver for IP block found in SGI ASICs 2019-09-04 14:34:31 +02:00
Makefile w1: add 1-wire master driver for IP block found in SGI ASICs 2019-09-04 14:34:31 +02:00
ds1wm.c w1: ds1wm: add messages to make incorporation in mfd-drivers easier 2017-08-28 17:20:01 +02:00
ds2482.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
ds2490.c w1/masters/ds2490: queue up found IDs during scan 2021-01-20 18:50:21 +01:00
matrox_w1.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
mxc_w1.c w1: mxc_w1: Fix timeout resolution problem leading to bus error 2020-10-02 15:53:25 +02:00
omap_hdq.c w1: omap-hdq: print dev_err if irq flags are not cleared 2020-05-27 12:18:49 +02:00
sgi_w1.c w1: sgi_w1: use devm_platform_ioremap_resource() to simplify code 2019-10-10 15:24:18 +02:00
w1-gpio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00