mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
input: nova_mmi: update firmware when version is not equal
Update firmware when version of bin and touch module is not equal in order to follow moto tradition, also can do flexible firmware update. Change-Id: I448fc6b82785731046ec2ea4fcdab4be0a715e26 Signed-off-by: Yeqing Wang <wangyq13@motorola.com> Reviewed-on: https://gerrit.mot.com/1206766 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jialei Hao <haojl2@motorola.com> Reviewed-by: Jun Weng <wengjun1@motorola.com> Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
c35d7d09d5
commit
9dab917b02
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ int32_t Check_FW_Ver(void)
|
|||
}
|
||||
|
||||
// compare IC and binary FW version
|
||||
if (buf[1] > fw_entry->data[FW_BIN_VER_OFFSET])
|
||||
if (buf[1] == fw_entry->data[FW_BIN_VER_OFFSET])
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue