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

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

Merge "power: smb5: Add DT property to disable SW based thermal-regulation"

parents b863467c d0f3c253
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -378,6 +378,10 @@ static int smb5_chg_config_init(struct smb5 *chip)
	chg->chg_freq.freq_below_otg_threshold	= 800;
	chg->chg_freq.freq_above_otg_threshold	= 800;

	if (of_property_read_bool(chip->chg.dev->of_node,
				      "qcom,disable-sw-thermal-regulation"))
		chg->wa_flags &= ~SW_THERM_REGULATION_WA;

out:
	of_node_put(revid_dev_node);
	return rc;