mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
power: qpnp-smbcharger-mmi: Disable Force Votables
On Factory Mode, PMIC module votes on having high charging current, interpreting USB cable as a Turbo Charger. Setting vote to OFF(0) will reset such behavior, and will display Toast message correctly only when a Turbo Charger is plugged. Based on https://gerrit.mot.com/#/c/1325224/ Change-Id: I3661e6f093d284ce244435b71340d0f7ec56b6ec Signed-off-by: Cesar Santos <cmsantos@motorola.com> Reviewed-on: https://gerrit.mot.com/1387920 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ryan Lattrel <ryanl@motorola.com> Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
e3bcdde9df
commit
a878ec13cd
1 changed files with 0 additions and 5 deletions
|
|
@ -3852,11 +3852,6 @@ static int smb_mmi_probe(struct platform_device *pdev)
|
|||
pmic_vote_force_val_set(chip->fv_votable, 4400000);
|
||||
pmic_vote_force_active_set(chip->fv_votable, 1);
|
||||
}
|
||||
if(chip->usb_icl_votable) {
|
||||
pmic_vote_force_val_set(chip->usb_icl_votable,
|
||||
3000000);
|
||||
pmic_vote_force_active_set(chip->usb_icl_votable, 1);
|
||||
}
|
||||
|
||||
/* Some Cables need a more forced approach */
|
||||
rc = smblib_set_charge_param(chip, &chip->param.usb_icl,
|
||||
|
|
|
|||
Loading…
Reference in a new issue