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

Commit 2c1e981c 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 return value check for scm_is_secure_device() API"

parents b7cd152c a72f768c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2858,7 +2858,7 @@ static void msm_thermal_bite(int zone_id, int temp)
			tsens_id, temp);
	}
	/* If it is a secure device ignore triggering the thermal bite. */
	if (scm_is_secure_device())
	if (!scm_is_secure_device())
		return;
	if (!is_scm_armv8()) {
		scm_call_atomic1(SCM_SVC_BOOT, THERM_SECURE_BITE_CMD, 0);