OSDN Git Service

msm: thermal: Ignore thermal bite for secure device
authorRam Chandrasekar <rkumbako@codeaurora.org>
Fri, 10 Feb 2017 22:14:50 +0000 (15:14 -0700)
committerRam Chandrasekar <rkumbako@codeaurora.org>
Wed, 15 Feb 2017 19:05:15 +0000 (12:05 -0700)
commit24499b633faccbf6fc15153c3b4613a7cccc9ede
treef1aa559c77ab4c7e593884e6cf31c2ec18d65fcf
parent4a86c2f3ccbb861cc50778cc4b67af153e99bf24
msm: thermal: Ignore thermal bite for secure device

KTM triggers a secure watchdog bite, when temperature reaches very high
threshold. In the secure device this call is not supported.

Avoid triggering the watchdog bite, on a secure device. This bite is
triggered in KTM for debug purpose to save the software state.
In the latest hardware, the tsens controller is capable of initiating a
hardware reset after saving the software state. So this feature is used
only to print the tsens ID which crossed the very high threshold.

Change-Id: Iacef4b64e16f9c2d9789d8faba474429dfcecd4e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
drivers/thermal/msm_thermal.c