diff options
| author | 2025-09-18 20:06:45 +0300 | |
|---|---|---|
| committer | 2025-09-18 23:26:27 +0200 | |
| commit | ee6cd8f3e28ee5a929c3b67c01a350f550f9b73a (patch) | |
| tree | c9ceb57e3986ed199d4471ee7b06a6e627b58170 /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | power: supply: qcom_battmgr: Add charge control support (diff) | |
| download | wireguard-linux-ee6cd8f3e28ee5a929c3b67c01a350f550f9b73a.tar.xz wireguard-linux-ee6cd8f3e28ee5a929c3b67c01a350f550f9b73a.zip | |
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 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
