]> git.baikalelectronics.ru Git - kernel.git/commit
W1: ds2490.c ds_write_bit, grouping error, disable readback
authorDavid Fries <david@fries.net>
Thu, 16 Oct 2008 05:05:04 +0000 (22:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:50 +0000 (11:21 -0700)
commitd5a82302768288cc150a3abe7135919268307615
tree8c65de40bc97dfb267a652251660efd77608bff9
parent81ed89d3088d95b5d0d78b0b9cb6be187eb63f46
W1: ds2490.c ds_write_bit, grouping error, disable readback

ds_write_bit doesn't read the input buffer, so add COMM_ICP and a comment
that it will no longer generate a read back data byte.  If there is an
extra data byte later on then it will cause an error and discard what data
was there.  Corrected operator ordering for ds_send_control.

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