summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorYikai Tsai <yikai.tsai.wiwynn@gmail.com>2025-05-19 16:40:51 +0800
committerGuenter Roeck <linux@roeck-us.net>2025-05-19 21:56:18 -0700
commitb2446a16dbf2347a07af0cf994ca36576d94df77 (patch)
tree18faac3c6c06e651eea16989b9a648dc6d71b9d6 /scripts/lib/kdoc/kdoc_files.py
parent0ddce5549012a3f3b9ddcf59822aa0d1be61e8e8 (diff)
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions