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

Skip to content
Commit 0413d928 authored by Ashish Chavan's avatar Ashish Chavan
Browse files

power: smb1390: Fix taper condition for VPH configuration



For VPH configuration fcc and fcc_main are same. Reducing fcc_main from
fcc can cause the charger disable condition to always be false. Fix this
by changing the main_ilim_ua type to int and add a check for subtracting
the main_fcc_ua from fcc_ua only for VBAT configuration.

Change-Id: I63a527a6de981a42d0c879151af1346191dbb4f6
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent e9c4d140
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