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

Commit 6a40b4c3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-smbcharger: vote for FCC as BATT_TYPE"

parents 64d0df39 2449babe
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -312,7 +312,6 @@ enum wake_reason {
enum fcc_voters {
	ESR_PULSE_FCC_VOTER,
	BATT_TYPE_FCC_VOTER,
	USER_FCC_VOTER,
	RESTRICTED_CHG_FCC_VOTER,
	NUM_FCC_VOTER,
};
@@ -2271,7 +2270,7 @@ static int smbchg_set_fastchg_current_user(struct smbchg_chip *chip,

	pr_smb(PR_STATUS, "User setting FCC to %d\n", current_ma);

	rc = vote(chip->fcc_votable, USER_FCC_VOTER, true, current_ma);
	rc = vote(chip->fcc_votable, BATT_TYPE_FCC_VOTER, true, current_ma);
	if (rc < 0)
		pr_err("Couldn't vote en rc %d\n", rc);
	return rc;