linux-stable-rt/drivers/w1
Jan Weitzel 3fd306c85a w1: disable irqs in critical section
Interrupting w1_delay() in w1_read_bit() results in missing the low level
on the w1 line and receiving "1" instead of "0".

Add local_irq_save()/local_irq_restore() around the critical section

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-11-02 16:07:03 -07:00
..
masters
slaves drivers/power/ds2780_battery.c: add a nolock function to w1 interface 2011-11-02 16:07:03 -07:00
Kconfig
Makefile
w1.c
w1.h
w1_family.c
w1_family.h
w1_int.c drivers/w1/w1_int.c: multiple masters used same init_name 2011-11-02 16:07:03 -07:00
w1_int.h
w1_io.c w1: disable irqs in critical section 2011-11-02 16:07:03 -07:00
w1_log.h
w1_netlink.c
w1_netlink.h