diff options
| author | Xu Rao <raoxu@uniontech.com> | 2026-07-23 14:54:44 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-23 17:07:24 +0200 |
| commit | 160a783aa65b74782bc17cb874af1a6d3f5fba3c (patch) | |
| tree | d5efa8881291ba45efe2f2b41cf1f9c340eb765e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f7b253a6e217f71d754d70c525e9b4c1dcbd4414 (diff) | |
power: supply: bq25890: fix the -10 C NTC lookup entry
The TSPCT lookup table is monotonically decreasing except for ADC code
121, where the sequence reads -9.0 C, -1.0 C, -12.0 C. This makes the
reported battery temperature jump upward by eight degrees for one code
and then downward by eleven degrees for the next code.
The entry is a missing zero: use -10.0 C so the sequence remains
monotonic between -9.0 C and -12.0 C.
Fixes: 9652c02428f3 ("power: bq25890: add POWER_SUPPLY_PROP_TEMP")
Cc: stable@vger.kernel.org
Signed-off-by: Xu Rao <raoxu@uniontech.com>
Link: https://patch.msgid.link/0619C8BF15F43B7C+20260723065444.1796002-1-raoxu@uniontech.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
