diff options
author | Dzmitry Sankouski <dsankouski@gmail.com> | 2025-09-18 20:06:45 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-09-18 23:26:27 +0200 |
commit | ee6cd8f3e28ee5a929c3b67c01a350f550f9b73a (patch) | |
tree | c9ceb57e3986ed199d4471ee7b06a6e627b58170 /kernel/bpf/arraymap.c | |
parent | cc3e883a06251ba835f15672dbe8724f2687971b (diff) |
power: supply: max77976_charger: fix constant current reporting
CHARGE_CONTROL_LIMIT is a wrong property to report charge current limit,
because `CHARGE_*` attributes represents capacity, not current. The
correct attribute to report and set charge current limit is
CONSTANT_CHARGE_CURRENT.
Rename CHARGE_CONTROL_LIMIT to CONSTANT_CHARGE_CURRENT.
Cc: stable@vger.kernel.org
Fixes: 715ecbc10d6a ("power: supply: max77976: add Maxim MAX77976 charger driver")
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions