diff options
| author | 2026-09-26 17:29:05 +0300 | |
|---|---|---|
| committer | 2026-10-04 18:01:20 +0200 | |
| commit | 6bca94e64255053ab2aa56f2588fda73d399b790 (patch) | |
| tree | c96ad4e647a27962d9e396dfcdd18f29e7412b39 /scripts/Makefile.thinlto | |
| parent | power: supply: ds2780: Fix ds2780_get_capacity() returning raw value (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
