[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250519061637.8796-1-yikai.tsai.wiwynn@gmail.com>
Date: Mon, 19 May 2025 14:16:35 +0800
From: Yikai Tsai <yikai.tsai.wiwynn@...il.com>
To: patrick@...cx.xyz
Cc: Yikai Tsai <yikai.tsai.wiwynn@...il.com>,
Carsten Spieß <mail@...sten-spiess.de>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/1] hwmon: (isl28022) Fix current reading calculation
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
Powered by blists - more mailing lists