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

Skip to content
Commit 4c8d0782 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

msm: thermal: Convert tsens ID to thermal zone ID after boot-up polling



Add support to convert tsens ID to thermal zone ID.
During boot-up, KTM uses tsens ID to get temperature from
tsens driver. After boot-up, KTM works with the thermal sys
framework to register thresholds and thermal sys framework
expects zone ID as input. So during the switch to interrupt
mode convert all tsens ID to Zone ID.
Also, add a function, which can handle zone/tsens ID and get
current temperature.

Change-Id: I685852e8571c0609a32b0ce982ae70d0b59443fd
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 2d37de8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment