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, 20 Apr 2022 07:06:43 +0000 (09:06 +0200)
commit3e8a576f2b88fc17276704516f071b44f0273941
treea7371f6f9e7d4c04213b9e6f8d09538efce9e6a8
parent197643a60ede29daab549b75ae1adf3e0f61345e
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