kernel-ark/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 MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
slaves drivers/power/ds2780_battery.c: add a nolock function to w1 interface 2011-11-02 16:07:03 -07:00
Kconfig trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1_family.c MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_family.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
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 MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_io.c w1: disable irqs in critical section 2011-11-02 16:07:03 -07:00
w1_log.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_netlink.c MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_netlink.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1.c MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00