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

Commit 58086f9b authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-qg: Fix the error check for battery-temperature"

parents d1c6045b d24a948c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2549,7 +2549,7 @@ static int qg_determine_pon_soc(struct qpnp_qg *chip)
	}

	rc = qg_get_battery_temp(chip, &batt_temp);
	if (rc) {
	if (rc < 0) {
		pr_err("Failed to read BATT_TEMP at PON rc=%d\n", rc);
		goto done;
	}