commit | 2af2a8c35619557d206c0616a21e12470854f1a5 | [log] [tgz] |
---|---|---|
author | Abhishek Gadewar <abhishekgadewar@meta.com> | Mon Sep 09 17:08:08 2024 -0700 |
committer | Abhishek Gadewar <abhishekgadewar@meta.com> | Mon Sep 09 17:08:08 2024 -0700 |
tree | e249345a1618e8d8e59854b579675efb6c960cf7 | |
parent | b90b46a543cac12c0025dc5639ad52410fc51d6e [diff] |
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: Abhishek Gadewar <abhishekgadewar@meta.com>