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

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

Merge "qcom-charger: smb-lib: fix return of an uninitialized variable"

parents 9c895b78 cbd28f43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2010,7 +2010,7 @@ int smblib_set_prop_pd_current_max(struct smb_charger *chg,
int smblib_set_prop_usb_current_max(struct smb_charger *chg,
				    const union power_supply_propval *val)
{
	int rc;
	int rc = 0;

	if (!chg->pd_active) {
		rc = vote(chg->usb_icl_votable, USB_PSY_VOTER,