From: Scott Alfter Date: Tue, 17 Jun 2014 20:42:05 +0000 (+0000) Subject: w1: new w1_ds2406 driver X-Git-Tag: cleanup-for-v3.18~127^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94859308a21b2bbf3d7c48789513c0c4a9ea7de1;p=pandora-kernel.git 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: Scott Alfter Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed