mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
charging: export charge ops interface for authen test
For some authen tests, charging parameters may need to be changed as requirement. And for original designation, these ops interfaces only work in factory mode. So we need to export them in normal mode. Change-Id: I4ed54474fb6f8e0a164231d8919bc0f385954bd5 Reviewed-on: https://gerrit.mot.com/2299683 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
6e6e150be2
commit
f7c69fecb1
1 changed files with 3 additions and 1 deletions
|
|
@ -2753,9 +2753,11 @@ static int mmi_discrete_charger_init(struct mmi_discrete_charger *chip)
|
|||
pmic_vote_force_active_set(chip->usb_icl_votable, 1);
|
||||
}
|
||||
|
||||
mmi_discrete_create_factory_testcase(chip);
|
||||
}
|
||||
|
||||
/*export charging operation interface for AUTHEN version*/
|
||||
mmi_discrete_create_factory_testcase(chip);
|
||||
|
||||
return 0;
|
||||
free_mem:
|
||||
if (client)
|
||||
|
|
|
|||
Loading…
Reference in a new issue