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

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

Merge "smb5-lib: Remove THERMAL_DAEMON_VOTER on PL_DISABLE"

parents 273a91ef 1ed726eb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1731,9 +1731,6 @@ int smblib_set_prop_system_temp_level(struct smb_charger *chg,
		return -EINVAL;

	chg->system_temp_level = val->intval;
	/* disable parallel charge in case of system temp level */
	vote(chg->pl_disable_votable, THERMAL_DAEMON_VOTER,
			chg->system_temp_level ? true : false, 0);

	if (chg->system_temp_level == chg->thermal_levels)
		return vote(chg->chg_disable_votable,