diff options
author | Chris Packham <[email protected]> | 2021-08-12 13:39:59 +1200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2021-08-17 14:54:26 -0700 |
commit | 7a8c68c57fd09541377f6971f25efdeb9a926c37 (patch) | |
tree | 01d83a0d7c3211f7d75c109bc1b2a02a8ea8291f /lib/test_overflow.c | |
parent | 2aee7e67bee7a5aa741bad6a0a472f108b29ad40 (diff) |
hwmon: (pmbus/bpa-rs600) Don't use rated limits as warn limits
In the initial implementation a number of PMBUS_x_WARN_LIMITs were
mapped to MFR fields. This was incorrect as these MFR limits reflect the
rated limit as opposed to a limit which will generate warning. Instead
return -ENXIO like we were already doing for other WARN_LIMITs.
Subsequently these rated limits have been exposed generically as new
fields in the sysfs ABI so the values are still available.
Fixes: 15b2703e5e02 ("hwmon: (pmbus) Add driver for BluTek BPA-RS600")
Signed-off-by: Chris Packham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions