aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2024-10-14 22:04:26 +0200
committerGuenter Roeck <[email protected]>2024-10-14 19:14:08 -0700
commiteabb03810194b75417b09cff8a526d26939736ac (patch)
treeeff09b52bb1f92f3a52e25ca683bfb3db217bc02 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8e929cb546ee42c9a61d24fae60605e9e3192354 (diff)
[PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again
Commit b3e992f69c23 ("hwmon: (jc42) Strengthen detect function") attempted to make the detect function more robust for TSE2004-compliant devices by checking capability bits which, according to the JEDEC 21-C specification, should always be set. Unfortunately, not all real-world implementations fully adhere to this specification, so this change caused a regression. Stop testing bit 7 (EVSD) of the Capabilities register, as it was found to be 0 on one real-world device. Also stop testing bits 0 (EVENT) and 2 (RANGE) as vendor datasheets (Renesas TSE2004GB2B0, ST STTS2004) suggest that they may not always be set either. Signed-off-by: Jean Delvare <[email protected]> Message-ID: <[email protected]> Fixes: b3e992f69c23 ("hwmon: (jc42) Strengthen detect function") Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions