]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
W1: w1_io.c reset comments and msleep
authorDavid Fries <david@fries.net>
Thu, 16 Oct 2008 05:05:01 +0000 (22:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:50 +0000 (11:21 -0700)
commit8e3dae2b4727dc216e2dc16d2f0271b5f31b680c
tree9f6889372940cbccb57631ac487ad5c94aa5b430
parent7dc8f527ef20bf95143dfbe2ecc01dc70b1e6ab7
W1: w1_io.c reset comments and msleep

w1_reset_bus, added some comments about the timing and switched to msleep
for the later delay.  I don't have the hardware to test the sleep after
reset change.  The one wire doesn't have a timing requirement between
commands so it is fine.  I do have the USB hardware and it would be in big
trouble with 10ms interrupt transfers to find that the reset completed.

Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/w1_io.c