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

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

Merge "power: qcom-charger: fix minor bugs in parallel path"

parents 73069045 fb2e7e98
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2664,7 +2664,6 @@ int smblib_set_icl_reduction(struct smb_charger *chg, int reduction_ua)
	int current_ua, rc;

	if (reduction_ua == 0) {
		chg->icl_reduction_ua = 0;
		vote(chg->usb_icl_votable, PL_USBIN_USBIN_VOTER, false, 0);
	} else {
		/*
@@ -2682,6 +2681,8 @@ int smblib_set_icl_reduction(struct smb_charger *chg, int reduction_ua)
		}
	}

	chg->icl_reduction_ua = reduction_ua;

	return rerun_election(chg->usb_icl_votable);
}