mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
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:
parent
59b9242ac5
commit
cd707d1093
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue