Skip to content

Commit

Permalink
qpnp-smb2: whyred increase float current to 1000mA like tulip
Browse files Browse the repository at this point in the history
Signed-off-by: psndna88 <[email protected]>
  • Loading branch information
psndna88 authored and 1petro committed Sep 24, 2020
1 parent 40ad6c1 commit e4be8d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/power/supply/qcom/smb-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -2827,7 +2827,7 @@ int smblib_set_prop_pd_current_max(struct smb_charger *chg,
}

#if defined(CONFIG_KERNEL_CUSTOM_E7S)
#define FLOAT_CURRENT_UA 500000
#define FLOAT_CURRENT_UA 1000000
#else
#define FLOAT_CURRENT_UA 1000000
#endif
Expand Down Expand Up @@ -4045,7 +4045,7 @@ static void smblib_force_legacy_icl(struct smb_charger *chg, int pst)
* if this is a SDP and appropriately set the current
*/
#if defined (CONFIG_KERNEL_CUSTOM_E7S)
vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 500000);
vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 1000000);
#elif defined(CONFIG_KERNEL_CUSTOM_D2S) || defined(CONFIG_KERNEL_CUSTOM_F7A)
vote(chg->usb_icl_votable, USER_VOTER, false, 0);
vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 1000000);
Expand Down

0 comments on commit e4be8d6

Please sign in to comment.