diff options
| author | Svyatoslav Ryhel <clamor95@gmail.com> | 2026-09-26 17:29:05 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-10-04 18:01:20 +0200 |
| commit | 6bca94e64255053ab2aa56f2588fda73d399b790 (patch) | |
| tree | c96ad4e647a27962d9e396dfcdd18f29e7412b39 /tools/lib/python | |
| parent | a58cbc8b36ec0cd00d2ba3de7d003de818a27523 (diff) | |
power: supply: generic-adc-battery: Fix temperature IIO channel conversion
Temperature IIO channel data is provided in milli-degrees, while
POWER_SUPPLY_PROP_TEMP is expected to be in deci-degrees. Adjust the
existing logic to reflect this conversion properly.
Fixes: 33088c0513818 ("power: supply: generic-adc-battery: add temperature support")
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://patch.msgid.link/20260926142905.206215-2-clamor95@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
