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

Skip to content
Commit 872b407f authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

power: qpnp-linear-charger: Fix mutex deadlock in charger



There is a deadlock condition between BMS reporting end-of-charge
and charger driver resuming charging in get capacity.

Fix the above deadlock by calling get capacity outside the
mutex lock.

CRs-Fixed: 675064
Change-Id: I385bfc301bd55d5460d2294a8427d31648df9bb6
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 38be2e8f
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