[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <31a597fc9f165ccc4998451b0ae91fc6.squirrel@webmail.alfter.us>
Date: Tue, 17 Jun 2014 20:42:05 -0000
From: Scott Alfter <scott@...ter.us>
To: linux-kernel@...r.kernel.org
Cc: zbr@...emap.net
Subject: revised driver: w1_ds2406
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.
This patch supersedes the patch I had previously submitted.
Signed-off-by: Scott Alfter <scott@...ter.us>
Scott Alfter
scott@...ter.us
View attachment "w1_ds2406.patch.txt" of type "text/plain" (6841 bytes)
Powered by blists - more mailing lists