diff options
| author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2026-07-27 21:22:21 -0300 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-07-27 17:55:44 -0700 |
| commit | 1a18c79c4bc44cc5349c60e16b0b744dc6ec5f77 (patch) | |
| tree | 6ae0ea0729a53dc5eb8abd689cd4873ca2082141 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | cb0b7f9c43b0abbd422a7e4c2c85e91db429207c (diff) | |
hwmon: (adt7470) Fix temperature alarm logic in hwmon_temp_read()
During the conversion the alarm callback started interpreting the
channel index as an alarm bitmask, resulting in incorrect alarm
reporting. Compute the proper alarm bit instead.
Reported-by: sashiko-bot@kernel.org
Closes: https://lore.kernel.org/r/20260717211224.B9E291F000E9@smtp.kernel.org
Fixes: fc958a61ff6d ("hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API")
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Link: https://lore.kernel.org/r/20260727-adt7470_fixes-v2-5-598e38a46ba6@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
