power: smb5-lib: Report the CURRENT_MAX as 1A in CC-mode
Userspace uses the CURRENT_MAX power-supply property to
determine the strength of the charger. In CC-mode of operation
the main-charger's ICL is configured low and hence the
CURRENT_MAX reported is lower attributing it as a weak-charger.
Fix this by reporting a fixed value of 1A during CC-mode.
Change-Id: Id8745b54c3909d01df69376a823396ea4c94eeb1
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment