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:Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by:
Umang Agrawal <uagrawal@codeaurora.org>
Loading
Please register or sign in to comment