Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4ee0a55 authored by Harry Yang's avatar Harry Yang
Browse files

qcom: battery: Fix parallel disabled issue on charging boot



Parallel algorithm votes to disable slave charger if
devices boot with charger attached, caused by a default
taper_pct = 0 value which leaves slave's FCC share to 0.

Fix it by initializing taper_pct with 100.

Change-Id: Ia03755d3abf389017c1b7e808eff53b5f1761e65
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent 089d1cb5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1082,6 +1082,8 @@ int qcom_batt_init(void)
		goto unreg_notifier;
	}

	chip->taper_pct = 100;

	the_chip = chip;

	return 0;