From: Jan Weitzel Date: Wed, 2 Nov 2011 20:40:02 +0000 (-0700) Subject: w1: disable irqs in critical section X-Git-Tag: v3.2-rc1~82^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd306c85adcde7209281cb663dd8ea247e97cc3;p=pandora-kernel.git 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 Acked-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed