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>
Wed, 13 Apr 2022 18:03:09 +0000 (20:03 +0200)
commitbf7725f9d07e96c9ba8dd5b457369a7c59d10433
tree3994c9cc4e628ead4dd8982ce0d4a03999a53826
parentab0fed1fa744173433cfd1dbaf9239f200ded650
w1: w1_therm: fixes w1_seq for ds28ea00 sensors

[ Upstream commit 41a92a89eee819298f805c40187ad8b02bb53426 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/w1/slaves/w1_therm.c