]> Pileus Git - ~andy/linux/commit
w1_therm: Retries: remove old code add CRC
authorDavid Stevenson <david@avoncliff.com>
Tue, 18 Dec 2012 01:37:56 +0000 (01:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 07:43:05 +0000 (23:43 -0800)
commit867ff9880d5d71a38433c0471bc09bcc10851f36
treebc723c92a38a39d5bdb27584ebdb069d297322f3
parente5279ff6c9f5e950feac6e6f48621db912324c07
w1_therm: Retries: remove old code add CRC

w1_therm includes some obsolete code to detect bad_roms, this is no
longer relevant.
The retry code is only used for this bad_rom test, however there is a
CRC check that detects a bad read, but does not trigger a retry. This
patch removes all the bad_rom code and uses the CRC check to trigger
retries.

Signed-off-by: David Stevenson <david@avoncliff.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c