summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDavid Fries2008-10-16 07:05:10 +0200
committerLinus Torvalds2008-10-16 20:21:51 +0200
commitade6d810b585d749db24d734947a30a29470cccd (patch)
tree516701655f96739293019705496201e432a27e84 /.gitignore
parentW1: Documentation/w1/masters/ds2490 update (diff)
downloadkernel-qcow2-linux-ade6d810b585d749db24d734947a30a29470cccd.tar.gz
kernel-qcow2-linux-ade6d810b585d749db24d734947a30a29470cccd.tar.xz
kernel-qcow2-linux-ade6d810b585d749db24d734947a30a29470cccd.zip
W1: ds2490.c optimize ds_set_pullup
Optimize the ds_set_pullup function. For a strong pullup to be sent the ds2490 has to have both the strong pullup mode enabled, and the specific write operation has to have the SPU bit enabled. Previously the write always had the SPU bit enabled and both the duration and model was set when a strong pullup was requested. Now the strong pullup mode is enabled at initialization time, the delay is updated only when the value changes, and the write SPU bit is set only when a strong pullup is required. This removes two or three bus transactions per strong pullup request. 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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions