diff options
| author | 2026-09-01 13:36:52 +0800 | |
|---|---|---|
| committer | 2026-09-10 00:41:50 +0200 | |
| commit | f444a42dce5caf5856b5289c48e0d48e531649d3 (patch) | |
| tree | edf4f3f9a95858197b7c4b6569ff625c96adf175 /scripts/Makefile.thinlto | |
| parent | Linux 7.3-rc1 (diff) | |
power: supply: max17042_battery: Fix vmin assigned instead of vmax in DT parsing
The else branch of the "maxim,over-volt" property check assigns the
parsed value to chip->vmin instead of chip->vmax, so chip->vmin is
overwritten and chip->vmax never gets the DT value.
Fixes: 6a3b47a5a5fc ("power: supply: Match DT value types")
Signed-off-by: Xueqin Luo <luoxueqin@kylinos.cn>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260901053653.1668492-1-luoxueqin@kylinos.cn
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
