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

Skip to content
Commit 194d2e48 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Guru Das Srinagesh
Browse files

power: qpnp-smb5: Configure ICL based on flash active state



The charger driver configures the ICL to 100mA or 0mA on input
removal and to 100mA on charger insertion (before USB enumeration).
When there is a TORCH concurrency with USB insertion, there can be
a scenario where the TORCH could delay in ramping up. Fix this
by forcing the ICL to at least 500mA when TORCH is active.

While at it, reject the current reported from USB if input is absent.

Change-Id: Ie4084c236957538d396cfb504f50d7b325a5743e
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 103b127b
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