diff options
author | Markus Franke <markus.franke@s2002.tu-chemnitz.de> | 2012-04-12 00:42:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-11 16:44:10 -0700 |
commit | 8f1e12512e9f1276b68c8b14a60961658c73336f (patch) | |
tree | 370742441c08ea56dae64e9d7cfa9b53bad3d75a /arch | |
parent | f19420c1acb0b573c88a12deb2d42035e22d4a17 (diff) | |
download | op-kernel-dev-8f1e12512e9f1276b68c8b14a60961658c73336f.zip op-kernel-dev-8f1e12512e9f1276b68c8b14a60961658c73336f.tar.gz |
w1: Disable irqs during 1-wire bus operations, extend 1-wire reset pulse
This patch offers the possibility to disables irqs during w1_write_bit()
and w1_reset_bus() operations as timing requirements are very strict for
the 1-wire bus protocol. Per default interrupts are enabled but can be
disabled via the module parameter "w1_disable_irqs".
Extend 1-wire reset pulse length from 480us to 500us as 480us is the
minimum requirement for the 1-wire reset/presence pulse.
Signed-off-by: Markus Franke <franm@hrz.tu-chemnitz.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions