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

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

Merge "power: qpnp-fg-gen4: Update msoc on every FVSS soc update"

parents 98ad83cc 84a85d89
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4120,6 +4120,8 @@ static void soc_scale_work(struct work_struct *work)

	mutex_unlock(&chip->soc_scale_lock);
	if (chip->prev_soc_scale_msoc != chip->soc_scale_msoc) {
		/* update MSOC */
		fg_gen4_write_scale_msoc(chip);
		if (batt_psy_initialized(fg))
			power_supply_changed(fg->batt_psy);
	}