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

Commit b813f78a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: thermal: fix VDD restriction monitor not enabled case"

parents 3d6a8c1d 46b2cfaf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4502,7 +4502,8 @@ static void thermal_monitor_init(void)
	if (vdd_rstr_enabled) {
		if (vdd_rstr_apss_freq_dev_init())
			pr_err("vdd APSS mitigation device init failed\n");
		else if (!(convert_to_zone_id(&thresh[MSM_VDD_RESTRICTION])))

		if (!(convert_to_zone_id(&thresh[MSM_VDD_RESTRICTION])))
			therm_set_threshold(&thresh[MSM_VDD_RESTRICTION]);
	}