Re: [PATCH v2 1/1] hwmon: (isl28022) Fix current reading calculation

From: Guenter Roeck
Date: Tue May 20 2025 - 00:56:54 EST


On Mon, May 19, 2025 at 04:40:51PM +0800, Yikai Tsai wrote:
> 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@xxxxxxxxx>

Applied.

Guenter