W1: ds2490.c add support for strong pullup
commit1f4ec2d7f6c4560a9d0c1abab2e8effe9ba93921
authorDavid Fries <david@fries.net>
Thu, 16 Oct 2008 05:05:03 +0000 (15 22:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:50 +0000 (16 11:21 -0700)
tree10e0ab98846a7bd0bb7f8a68a4c104675109256a
parent95cfaebf61dff28612bd280d89efc6e2c6716dfa
W1: ds2490.c add support for strong pullup

Add strong pullup support for ds2490 driver, also drop mdelay(750), which
busy waits, usage in favour of msleep for long delays.  Now with msleep
only being called when the strong pullup is active, one wire bus
operations are only taking minimal system overhead.

The new set_pullup will only enable the strong pullup when requested,
which is expected to be the only write operation that will benefit from a
strong pullup.

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/masters/ds2490.c