diff options
| author | 2026-10-14 19:34:00 +0200 | |
|---|---|---|
| committer | 2026-11-02 07:00:04 -0800 | |
| commit | d0a03e1a2d9bd53b94fe6dff7a1a8058d25be82d (patch) | |
| tree | 85598339c837c4605a0e3192432ff7579c851c8d /scripts/Makefile.thinlto | |
| parent | hwmon: (gpd-fan) Reset both fans to automatic on duo boards (diff) | |
hwmon: chipcap2: fix command error diagnostics
The command response field only contains bits 1:0, while the
error flags are stored in bits 2:5. The existing diagnostic
checks test the extracted response field, so they can never report
an error flag.
Test the full status byte for the error flags, and check the
configuration-load flag instead of RAM parity for the last diagnostic.
Fixes: 3af350929e75 ("hwmon: Add support for Amphenol ChipCap 2")
Cc: stable@vger.kernel.org
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20261014-chipcap2_locks-v3-1-27ebfc2c5b9e@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
