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

Commit 1ed726eb authored by Fenglin Wu's avatar Fenglin Wu
Browse files

smb5-lib: Remove THERMAL_DAEMON_VOTER on PL_DISABLE



Remove THERMAL_DAEMON_VOTER on PL_DISABLE so that we can keep parallel
charging enabled after thermal kicks in which benefits thermal
mitigation further.

Change-Id: I2e8a1e912cc8a4c0455858e1f47d8ba2e739432f
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent a9cdbef8
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,