mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
input: fix ili7807s touch dislocation when aging test
Problem: aging test, touch dislocation. Cause: during the boot process, when the rst pin is pulled, the int pin will also be pulled down, and the system respond to the interrupt in advance, but at this time there is no firmware in the IC, which will trigger esd recovery to reload the firmware. The resolution information is stored in the firmware, but the firmware path has not been assigned at this time, and the firmware cannot be applied, resulting in the upgrade failure. If the resolution cannot be obtained, the default resolution will be used, which will lead to incorrect resolution setting. Solution: during the boot process, only after the firmware upgrade successfully, system can response to interrupts. Change-Id: I0ad032de0b96ed86177a9aa4a16f9aa87613042d Reviewed-on: https://gerrit.mot.com/2514709 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jun Weng <wengjun1@motorola.com> Reviewed-by: Yeqing Wang <wangyq13@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
7b5ea4f9cf
commit
e4066563c5
1 changed files with 1 additions and 1 deletions
|
|
@ -797,7 +797,7 @@ int ili_report_handler(void)
|
|||
int tmp = debug_en;
|
||||
|
||||
/* Just in case these stats couldn't be blocked in top half context */
|
||||
if (!ilits->report || atomic_read(&ilits->tp_reset) ||
|
||||
if (!ilits->boot || !ilits->report || atomic_read(&ilits->tp_reset) ||
|
||||
atomic_read(&ilits->fw_stat) || atomic_read(&ilits->tp_sw_mode) ||
|
||||
atomic_read(&ilits->mp_stat) || atomic_read(&ilits->tp_sleep)) {
|
||||
ILI_INFO("ignore report request\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue