summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMaud Spierings <maudspierings@gocontroll.com>2025-03-07 09:10:43 +0100
committerGuenter Roeck <linux@roeck-us.net>2025-03-07 06:57:52 -0800
commit7953605976f55acd4f297d310e6b0b2944f4bdc8 (patch)
treed48dc887850ea8699ca6e79c621056deb798e1d8 /tools/perf/scripts/python/export-to-sqlite.py
parentee65d9e63046de1de2a5383ba6f998634c86c42c (diff)
hwmon: (ntc_thermistor) return error instead of clipping on OOB
When the ntc is reading Out Of Bounds instead of clipping to the nearest limit (min/max) return -ENODATA. This prevents malfunctioning sensors from sending a device into a shutdown loop due to a critical trip. This implementation will only work for ntc type thermistors if a ptc type is to be implemented the min/max ohm calculation must be adjusted to take that into account. Signed-off-by: Maud Spierings <maudspierings@gocontroll.com> Link: https://lore.kernel.org/r/20250307-ntc_oob-v2-1-bba2d32b1a8e@gocontroll.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions