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

Commit e559f85b 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-smb5: Reverse the sign of CURRENT_NOW"

parents 75028a22 00c73b97
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1367,6 +1367,8 @@ static int smb5_batt_get_prop(struct power_supply *psy,
	case POWER_SUPPLY_PROP_CURRENT_NOW:
		rc = smblib_get_prop_from_bms(chg,
				POWER_SUPPLY_PROP_CURRENT_NOW, val);
		if (!rc)
			val->intval *= (-1);
		break;
	case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX:
		val->intval = get_client_vote(chg->fcc_votable,