From cd707d1093986a69112bfdbed23b0d18766ad2ad Mon Sep 17 00:00:00 2001 From: liuyc20 Date: Wed, 15 Jun 2022 11:47:30 +0800 Subject: [PATCH] mm8013c_fg: force none update fw/paramerter there is low probablilty update fail. then the phone will can't be bootup. Change-Id: I1f25bc5cd5e74f7301090859fb7f6287b1e61d04 Signed-off-by: liuyc20 Reviewed-on: https://gerrit.mot.com/2301067 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Haijian Ma Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- drivers/power/mm8013c_fg_mmi/mm8013c_battery.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/power/mm8013c_fg_mmi/mm8013c_battery.c b/drivers/power/mm8013c_fg_mmi/mm8013c_battery.c index ec5b077f5b43..d2212d841601 100644 --- a/drivers/power/mm8013c_fg_mmi/mm8013c_battery.c +++ b/drivers/power/mm8013c_fg_mmi/mm8013c_battery.c @@ -2021,6 +2021,9 @@ static int mm8xxx_battery_probe(struct i2c_client *client, fg_param_ver < parameter_version) { update_index = UPDATE_PARAMETER; } + //TDBO: tempary remove the update program, there is low probablilty update fail + //then the phone will can't be bootup. + update_index = UPDATE_NONE; update_begin: if (update_index != UPDATE_NONE)