]> git.baikalelectronics.ru Git - kernel.git/commit
W1: ds2490.c add support for strong pullup
authorDavid Fries <david@fries.net>
Thu, 16 Oct 2008 05:05:03 +0000 (22:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:50 +0000 (11:21 -0700)
commit81ed89d3088d95b5d0d78b0b9cb6be187eb63f46
tree10e0ab98846a7bd0bb7f8a68a4c104675109256a
parent14c7997bf98d3447306b55a0b2bef2df25864292
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