w1: w1_therm: fixes w1_seq for ds28ea00 sensors
authorLucas Denefle <lucas.denefle@converge.io>
Wed, 23 Feb 2022 11:35:55 +0000 (11:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 10:54:38 +0000 (11:54 +0100)
commit41a92a89eee819298f805c40187ad8b02bb53426
tree7ae343a788e86744f2fbbcecf4a522a837ead242
parent085a884434f3e3b08349a0ba0904f9f561739d57
w1: w1_therm: fixes w1_seq for ds28ea00 sensors

w1_seq was failing due to several devices responding to the
CHAIN_DONE at the same time. Now properly selects the current
device in the chain with MATCH_ROM. Also acknowledgment was
read twice.

Signed-off-by: Lucas Denefle <lucas.denefle@converge.io>
Link: https://lore.kernel.org/r/20220223113558.232750-1-lucas.denefle@converge.io
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c