linux/drivers/power
Dzmitry Sankouski b91518adbe power: supply: max77976_charger: fix constant current reporting
commit ee6cd8f3e2 upstream.

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: 715ecbc10d ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-19 16:33:52 +02:00
..
reset power: reset: at91-reset: Optimize at91_reset() 2025-06-19 15:31:31 +02:00
sequencing power: sequencing: make the QCom PMU pwrseq driver depend on CONFIG_OF 2024-12-05 14:01:29 +01:00
supply power: supply: max77976_charger: fix constant current reporting 2025-10-19 16:33:52 +02:00
Kconfig power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00
Makefile power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00