diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-07-21 20:15:26 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-07-21 20:15:25 -0700 |
| commit | 2c1e981c40d9e02feadb9cf04f981fdc56e4ddea (patch) | |
| tree | 8de6b06c06fe69ddd8f3fe410280ff880c2068eb | |
| parent | b7cd152c17f6e593e38205a434b7bb0c76d30584 (diff) | |
| parent | a72f768c6b77f94bc7a3d0861eaab93191700aef (diff) | |
Merge "msm: thermal: fix return value check for scm_is_secure_device() API"
| -rw-r--r-- | drivers/thermal/msm_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/msm_thermal.c b/drivers/thermal/msm_thermal.c index b1f4c3f27111..4b586f62cdc7 100644 --- a/drivers/thermal/msm_thermal.c +++ b/drivers/thermal/msm_thermal.c @@ -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); |
