git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68a436a
)
w1: disable irqs in critical section
author
Jan Weitzel
<j.weitzel@phytec.de>
Wed, 2 Nov 2011 20:40:02 +0000
(13:40 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:03 +0000
(16:07 -0700)
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>
drivers/w1/w1_io.c
patch
|
blob
|
history
diff --cc
drivers/w1/w1_io.c
Simple merge