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

Commit 383ac33a authored by Jeff Bernard's avatar Jeff Bernard Committed by Shiju Mathew
Browse files

thermal-core: Add a lock to tz_notify_trip()



Lock the sensor threshold list during notifications so it
isn't updated until notifications are sent out nor can
something else update thresholds until all notifications
are sent out.

Change-Id: Iafce75fa7fceda3de867044861e4a2e3eef47c95
Signed-off-by: default avatarJeff Bernard <jbernard@codeaurora.org>
parent ac6c6499
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