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 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2301067
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuyc20 2022-06-15 11:47:30 +08:00 • committed by Yuecai Liu
commit cd707d1093

View file

@ -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)