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

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

Merge "power: smb1398: Fix SOC based SMB enable condition"

parents cbb721da bb58db2d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1586,7 +1586,7 @@ static void smb1398_status_change_work(struct work_struct *work)
	 * valid due to the battery discharging later, remove
	 * vote from CUTOFF_SOC_VOTER.
	 */
	if (is_cutoff_soc_reached(chip))
	if (!is_cutoff_soc_reached(chip))
		vote(chip->div2_cp_disable_votable, CUTOFF_SOC_VOTER, false, 0);

	rc = power_supply_get_property(chip->usb_psy,