mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
input: ili9882_mmi: set fw ready flag when download complete
ili9882_mmi: Set fw ready flag as true when firmware download is complete. Then pen can set its flag to touch ic. Change-Id: Ib7866c831e906d65ca1d227acdbaa975b6401918 Signed-off-by: wangyq13 <wangyq13@lenovo.com> Reviewed-on: https://gerrit.mot.com/2406397 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jun Weng <wengjun1@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2fba50bbde
commit
04e216f361
1 changed files with 6 additions and 0 deletions
|
|
@ -536,6 +536,12 @@ static int nvt_mmi_firmware_update(struct device *dev, char *fwname)
|
|||
nvt_update_firmware(nvt_boot_firmware_name);
|
||||
mutex_unlock(&ts->lock);
|
||||
|
||||
#ifdef NOVATECH_PEN_NOTIFIER
|
||||
if(!ts->fw_ready_flag)
|
||||
ts->fw_ready_flag = true;
|
||||
nvt_mcu_pen_detect_set(ts->nvt_pen_detect_flag);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue