Skip to content
Snippets Groups Projects
Commit 39b44713 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 ae0874dd
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment