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

Skip to content
Commit 4a093fd7 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: vm-bms: Add coarse level mutex lock in monitor_soc_work



There is a race between lock/unlock of monitor_soc_work
and get_prop_capacity. Fix this by executing the complete
monitor_soc_work and get_prop_capacity with the lock held.

CRs-Fixed: 648888
Change-Id: I276c2510eddab58ff6aa3ea856f1d5688a751679
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 792ce78d
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