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

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

Merge "power: qpnp-qg: Fix incorrect reporting of SOC"

parents f0be5444 21b92649
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ static int qg_process_fvss_soc(struct qpnp_qg *chip, int sys_soc)
	int soc_vbat = 0, wt_vbat = 0, wt_sys = 0, soc_fvss = 0;

	if (!chip->dt.fvss_enable)
		return 0;
		goto exit_soc_scale;

	if (chip->charge_status == POWER_SUPPLY_STATUS_CHARGING)
		goto exit_soc_scale;