]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 13:19:50 +0000 (15:19 +0200)
commit553a6174a65399834cd686591f4be7ae1955a394
tree5f6dc883a736e500658df3281043c9f80e4dbc26
parent5677743655cbbdb664a27aac0ee3c36cb7790f00
w1: w1_therm: fixes w1_seq for ds28ea00 sensors

BugLink: https://bugs.launchpad.net/bugs/1971497
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/w1/slaves/w1_therm.c