[PATCH v1 0/1] hwmon: (isl28022) Fix current reading calculation

From: Yikai Tsai
Date: Mon May 19 2025 - 02:18:39 EST


Fix the driver for Renesas ISL28022 power monitor chip.
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.

v1: fix current reading calculation

Yikai Tsai (1):
hwmon: (isl28022) Fix current reading calculation

drivers/hwmon/isl28022.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

--
2.25.1