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

Skip to content
Commit 387bc198 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-fg: manually clear interrupts at probe time



The fuel gauge does not follow the reboot signal from the msm. This can
cause interrupts to fire in the boot sequence before the kernel can
react.

In particular, this can cause the latched status to be high before the
interrupt is registered with the pending bit low. The SPMI interrupts
driver will be confused and no further interrupts will be serviced from
the fuel gauge.

To avoid this issue, clear the fuel gauge memory interrupts before
registering the interrupts.

CRs-Fixed: 738872
Change-Id: Ic644565e35bfe52627b4905a21ab36f64bd14e71
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 2e272c5b
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