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

Commit 9811e67a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-smblite: Fix charge_type value in smblite"

parents 468128e9 2cbdbe7f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1753,11 +1753,11 @@ static int smblite_show_charger_status(struct smblite *chip)
	}
	batt_charge_type = val.intval;

	pr_info("SMBLITE: Mode=%s Conn=%s USB Present=%d Batt preset=%d health=%d charge=%d\n",
	pr_info("SMBLITE: Mode=%s Conn=%s USB Present=%d Battery present=%d health=%d charge=%d\n",
		chg->ldo_mode ? "LDO" : "SMBC",
		(chg->connector_type == POWER_SUPPLY_CONNECTOR_TYPEC) ?
			"TYPEC" : "uUSB", batt_present, batt_health,
		batt_charge_type);
			"TYPEC" : "uUSB", usb_present, batt_present,
			batt_health, batt_charge_type);
	return rc;
}