diff options
| author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2026-10-14 19:34:00 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-11-02 07:00:04 -0800 |
| commit | d0a03e1a2d9bd53b94fe6dff7a1a8058d25be82d (patch) | |
| tree | 85598339c837c4605a0e3192432ff7579c851c8d /scripts | |
| parent | d1f60971fbf85c243ab6c78f6535fbc88fa640ce (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')
0 files changed, 0 insertions, 0 deletions
