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

Commit 83330762 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-fg: fix first_soc_done completion



The logic behind the first_soc_done completion is incorrect. Currently,
it is completed when the battery is missing, when it should be
reinitialized instead. Also, it should be completed after receiving a
first_soc_done interrupt. These bugs can cause the first SOC time to be
delayed by up to 3 seconds.

Make these changes to fix the delays.

CRs-Fixed: 904311
Change-Id: I79a09e5abdc4bf6e214f20c98d2d53165ddc1bea
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 227ab376
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