Commit 90d259ed authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-qg: Report instantaneous-IBAT if averaged-IBAT is not ready



The averaged-IBAT holds the reset value 0x8000 (which corresponds to
5A/10A max supported QG current) if its read before the fist-ever fifo
is complete. In such a case report the instantaneous IBAT.

Change-Id: I65b3c93ad2cb54d82356907c809c70b0414036d1
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent b8e1fe0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment