diff options
author | Jan Weitzel <j.weitzel@phytec.de> | 2011-11-02 13:40:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-02 16:07:03 -0700 |
commit | 3fd306c85adcde7209281cb663dd8ea247e97cc3 (patch) | |
tree | 67bd829e0ef4e8e350af7fd06e4936bec616b49a /drivers/misc/vmw_balloon.c | |
parent | 68a436aec345c2bcd05dbdafae1f5f608ff8f61f (diff) | |
download | talos-obmc-linux-3fd306c85adcde7209281cb663dd8ea247e97cc3.tar.gz talos-obmc-linux-3fd306c85adcde7209281cb663dd8ea247e97cc3.zip |
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>
Diffstat (limited to 'drivers/misc/vmw_balloon.c')
0 files changed, 0 insertions, 0 deletions