diff options
author | 2025-05-19 16:40:51 +0800 | |
---|---|---|
committer | 2025-05-19 21:56:18 -0700 | |
commit | b2446a16dbf2347a07af0cf994ca36576d94df77 (patch) | |
tree | 18faac3c6c06e651eea16989b9a648dc6d71b9d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (lm75) Fix I3C transfer buffer pointer for incoming data (diff) | |
download | linux-rng-b2446a16dbf2347a07af0cf994ca36576d94df77.tar.xz linux-rng-b2446a16dbf2347a07af0cf994ca36576d94df77.zip |
hwmon: (isl28022) Fix current reading calculation
According to the ISL28022 datasheet, bit15 of the current register is
representing -32768. Fix the calculation to properly handle this bit,
ensuring correct measurements for negative values.
Signed-off-by: Yikai Tsai <yikai.tsai.wiwynn@gmail.com>
Link: https://lore.kernel.org/r/20250519084055.3787-2-yikai.tsai.wiwynn@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions