mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
e2f9f6dd59
commit
7699e56cd9
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue