From efe996589ce65ba46e572bd3bb36b70a194eb2d1 Mon Sep 17 00:00:00 2001 From: dengwei1 Date: Thu, 24 Mar 2022 17:06:24 +0800 Subject: [PATCH] rhode: input touch focal add reset focal add reset Change-Id: I425196199127582c9783916a93285d02cddf3a76 Signed-off-by: dengwei1 Reviewed-on: https://gerrit.mot.com/2225099 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang Submit-Approved: Jira Key --- .../input/touchscreen/focaltech_touch_v3/focaltech_ts_mmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/focaltech_touch_v3/focaltech_ts_mmi.c b/drivers/input/touchscreen/focaltech_touch_v3/focaltech_ts_mmi.c index 3312d7a2f06d..096922cecdaa 100644 --- a/drivers/input/touchscreen/focaltech_touch_v3/focaltech_ts_mmi.c +++ b/drivers/input/touchscreen/focaltech_touch_v3/focaltech_ts_mmi.c @@ -293,10 +293,10 @@ static int fts_mmi_post_resume(struct device *dev) GET_TS_DATA(dev); -/* if (!ts_data->pdata->always_on_vio) { + if (ts_data->gesture_support == true) { FTS_INFO("Reset IC in resume"); fts_reset_proc(200); - }*/ + } fts_tp_state_recovery(ts_data);