diff options
| author | Xueqin Luo <luoxueqin@kylinos.cn> | 2026-09-01 13:36:52 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-09-10 00:41:50 +0200 |
| commit | f444a42dce5caf5856b5289c48e0d48e531649d3 (patch) | |
| tree | edf4f3f9a95858197b7c4b6569ff625c96adf175 /tools/lib/python/kdoc/python_version.py | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-f444a42dce5caf5856b5289c48e0d48e531649d3.tar.gz linux-next-f444a42dce5caf5856b5289c48e0d48e531649d3.zip | |
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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
