Bladeren bron

touch: goodix: force update firmware on each boot

Force update firmware on each boot to appropriate firmware.

Signed-off-by: Shashank Babu Chinta Venkata <[email protected]>
Shashank Babu Chinta Venkata 3 jaren geleden
bovenliggende
commit
912fce5a74
1 gewijzigde bestanden met toevoegingen van 0 en 4 verwijderingen
  1. 0 4
      goodix_berlin_driver/goodix_brl_fwupdate.c

+ 0 - 4
goodix_berlin_driver/goodix_brl_fwupdate.c

@@ -949,10 +949,6 @@ int goodix_fw_update_proc(struct fw_update_ctrl *fwu_ctrl)
 
 	if (!(fwu_ctrl->mode & UPDATE_MODE_FORCE)) {
 		ret = goodix_fw_version_compare(fwu_ctrl);
-		if (!ret) {
-			ts_info("no need to upgrade");
-			return 0;
-		}
 		ts_info("need to upgrade");
 	}