pstar: input touch add delay for mode

input touch
add delay

Change-Id: I1e4624a989488d5c1d009875472dd23179d929b5
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2106659
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
dengwei1 2021-11-03 18:16:25 +08:00 • committed by Wei Deng
commit 7699e56cd9

View file

@ -22,6 +22,7 @@
#include "fts_lib/ftsGesture.h"
#include <soc/qcom/mmi_boot_info.h>
#include <linux/regulator/consumer.h>
#include <linux/delay.h>
#ifdef TS_MMI_TOUCH_MULTIWAY_UPDATE_FW
int flash_mode; /* global variable */
@ -745,6 +746,7 @@ static int fts_mmi_post_resume(struct device *dev)
pr_info("IRQ is %s\n", fts_is_InterruptEnabled() ? "EN" : "DIS");
/* restore data */
mdelay(200);
if (ts->board->jitter_ctrl) {
ret = fts_write(board->jitter_cmd, ARRAY_SIZE(board->jitter_cmd));
if (ret == OK)