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

Commit 00c1e17f authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

thermal: tsens: Enable TSENS driver debug check



Add a deferable workqueue to set a critical threshold of 10degC
and check if the critical interrupt was received. Panic if
the critical interrupt is not received within 1 second of
enabling the critical threshold else schedule another round
of test to ensure TSENS controller is up after 3 seconds.

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