mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
power: disable bq2597x_mmi ADC during shutdown
Disable bq2597x_mmi ADC function during the phone shutdown Change-Id: Icfa828624296979daca6dc810f9230ade1cac600 Signed-off-by: xuwt2 <xuwt2@lenovo.com> Reviewed-on: https://gerrit.mot.com/1212343 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
fbb0f913be
commit
424f60c2ac
1 changed files with 2 additions and 0 deletions
|
|
@ -2233,6 +2233,8 @@ static int bq2597x_charger_remove(struct i2c_client *client)
|
|||
|
||||
static void bq2597x_charger_shutdown(struct i2c_client *client)
|
||||
{
|
||||
struct bq2597x *bq = i2c_get_clientdata(client);
|
||||
bq2597x_enable_adc(bq, false);
|
||||
pr_info("Shutdown Successfully\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue