diff options
author | 2021-11-13 08:55:06 -0800 | |
---|---|---|
committer | 2021-12-12 16:22:53 -0800 | |
commit | 16ba51b5dcd3f6dde2e51d5ccc86313119dcf889 (patch) | |
tree | bcbbce23aff3cbcf0da273838f7247c462b720ed /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations (diff) | |
download | wireguard-linux-16ba51b5dcd3f6dde2e51d5ccc86313119dcf889.tar.xz wireguard-linux-16ba51b5dcd3f6dde2e51d5ccc86313119dcf889.zip |
hwmon: (lm90) Drop critical attribute support for MAX6654
Tests with a real chip and a closer look into the datasheet show that
MAX6654 does not support CRIT/THERM/OVERTEMP limits, so drop support
of the respective attributes for this chip.
Introduce LM90_HAVE_CRIT flag and use it to instantiate critical limit
attributes to solve the problem.
Cc: Josh Lehan <krellan@google.com>
Fixes: 229d495d8189 ("hwmon: (lm90) Add max6654 support to lm90 driver")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions