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

Skip to content
Commit 2af2a8c3 authored by Abhishek Gadewar's avatar Abhishek Gadewar
Browse files

ThermalManager: Don't hold mSamples lock while calling power HAL



Summary: There is no need to hold the lock while making the call to the power
HAL. In the case the HAL call takes a long time due to hardware reads,
holding the lock may cause lock contention from other threads.

Test: build passes

Tags:
Change-Id: I6b1f8d1228de17e4bf188bd99037b02ac7ebff1a
Signed-off-by: default avatarAbhishek Gadewar <abhishekgadewar@meta.com>
parent b90b46a5
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