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

Skip to content
Commit 208e1c54 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: smb5-lib: Use the unlocked version votable for FV



Float voltage is read in the batt_health() callback.
batt_health() is called from batt_status() and batt_status()
is also called from the FV callback leading to a deadlock.
Fix it by using the unlocked version of votable while reading FV.

Change-Id: Ie6f9f683c048a2a1c64d46716433bcff359dc3b0
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 99e8c416
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