remarkable-linux/drivers/w1
David Fries d3a8a9dbb9 w1: hold bus_mutex in netlink and search
The bus_mutex needs to be taken to serialize access to a specific bus.
netlink wasn't updated when bus_mutex was added and was calling
without that lock held, and not all of the masters were holding the
bus_mutex in a search.  This was causing the ds2490 hardware to stop
responding when both netlink and /sys slaves were executing bus
commands at the same time.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 15:40:18 -08:00
..
masters w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
slaves w1: use family_data instead of rom in w1_slave 2014-02-07 15:40:18 -08:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_family.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_family.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_int.h
w1_io.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_log.h
w1_netlink.c w1: hold bus_mutex in netlink and search 2014-02-07 15:40:18 -08:00
w1_netlink.h w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00