diff options
| author | Yikai Tsai <[email protected]> | 2025-05-19 08:40:51 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-05-20 04:56:18 +0000 |
| commit | b2446a16dbf2347a07af0cf994ca36576d94df77 (patch) | |
| tree | 18faac3c6c06e651eea16989b9a648dc6d71b9d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | hwmon: (lm75) Fix I3C transfer buffer pointer for incoming data (diff) | |
| download | kernel-b2446a16dbf2347a07af0cf994ca36576d94df77.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions
