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

Commit 986f8e85 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: Ignore thermal bite for secure device"

parents 5997ded2 24499b63
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2857,6 +2857,9 @@ static void msm_thermal_bite(int zone_id, int temp)
		pr_err("Tsens:%d reached temperature:%d. System reset\n",
			tsens_id, temp);
	}
	/* If it is a secure device ignore triggering the thermal bite. */
	if (scm_is_secure_device())
		return;
	if (!is_scm_armv8()) {
		scm_call_atomic1(SCM_SVC_BOOT, THERM_SECURE_BITE_CMD, 0);
	} else {