linux/drivers/power
Dzmitry Sankouski 36067f5ab9 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:37:30 +02:00
..
reset power supply and reset changes for the 6.17 series 2025-07-31 21:39:01 -07:00
sequencing power: sequencing: qcom-wcn: fix bluetooth-wifi copypasta for WCN6855 2025-06-30 09:07:57 +02:00
supply power: supply: max77976_charger: fix constant current reporting 2025-10-19 16:37:30 +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