OSDN Git Service

thermal: tsens: Remove registering for Critical trip zone
authorSiddartha Mohanadoss <smohanad@codeaurora.org>
Wed, 27 Jul 2016 18:15:20 +0000 (11:15 -0700)
committerSiddartha Mohanadoss <smohanad@codeaurora.org>
Wed, 27 Jul 2016 21:46:34 +0000 (14:46 -0700)
commit727563f0d8875c0e61d104e8bf626da6e340c8f0
tree9f10a23db2f96cb60af641ed56c38eb9ad91ed3e
parent8c5c49fdb240349632bcb0d3379c0f19562573a1
thermal: tsens: Remove registering for Critical trip zone

The handle_critical_trips() api in thermal_core gets
invoked during the system resume path on 4.4 kernel.
If a thermal driver has registered for the critical trip
zone the handle_critical_trips() reads the current temperature
and checks against the critical threshold. If the
temperature value is greater than the critical threshold
the device is shutdown.

Remove registering the critical trip zone since its not
used by thermal sys clients. The driver will continue
to use it internally to set thresholds and monitor
the state of the TSENS (temperature sensor) controller.

Change-Id: Ie2024498224f078de77dd006d77cdfa99bb90eee
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
drivers/thermal/msm-tsens.c