w1: new w1_ds2406 driver
Some preliminary work at making use of this driver led me to implement CRC-16 checks on read and write to deal with the occasional glitchiness of the 1-Wire bus. The revised driver (attached) returns an I/O error if the CRC check fails. When reading the chip's state, either you get a valid indication or you get an I/O error. When changing its state, either the change is successful or an I/O error is returned. Signed-off-by: NScott Alfter <scott@alfter.us> Acked-by: NEvgeniy Polyakov <zbr@ioremap.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Documentation/w1/slaves/w1_ds2406
0 → 100644
drivers/w1/slaves/w1_ds2406.c
0 → 100644
想要评论请 注册 或 登录