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

Skip to content
Commit 2117b144 authored by Umang Agrawal's avatar Umang Agrawal Committed by Guru Das Srinagesh
Browse files

power: smb1355: Fix ICL configuration for USBIN-USBIN mode



Currently, by default USB ICL of SMB1355 is configured to max value
of 7.75A. For USBIN-USBIN mode, user space algorithm depends upon the
USB ICL vlaue of parallel charger, once it gets enabled. However, in
kernel, parallel charging in enabled prior to configuration of USB ICL,
leading to a small window where USB_ICL is configured incorrectly,
which can result in failure of the user space state machine.

Fix this by initializing the USB ICL configuration to minimum value on
its enable/disable path with ICL configuration call responsible for
properly setting the ICL.

Change-Id: I5209745387d41b84f28c0deec3ce40462813b253
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent abff309d
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