commit | 2f34418b5eb2d935876f47ebab7b3d039cb1b445 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Apr 17 12:34:14 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Apr 17 12:34:14 2017 -0700 |
tree | bf86ee38ca5a3cceb49cb9f1e6535d77823d4b20 | |
parent | dfa8a94b947c36891cd160ec300025f7c2c8bb21 [diff] | |
parent | b03631914c931f98936d87875ba71b9f5256263a [diff] |
Merge "drivers: thermal: Update the set_trips for hysteresis change" into msm-4.9
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 8f98c09..b137c4e 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c
@@ -811,8 +811,7 @@ */ ret = tz->ops->set_trip_hyst(tz, trip, temperature); - if (!ret) - thermal_zone_set_trips(tz); + thermal_zone_set_trips(tz); return ret ? ret : count; }