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

Commit 8bb872c0 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

thermal: tsens: Check if TSENS device is enabled



TSENS (Temperature sensor) device is enabled before
the driver is probed and registers with the thermal sys.
Clients cannot read a valid temperature reading from the
TSENS device if it is not enabled or have the ability to
set temperature thresholds for notification. Therefore
check if the device is enabled as part of probe initialization.

Change-Id: I8e92b075b4b4b9fcf11481a0959a8e7c2e776dfc
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent fa8a4b71
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