From 211f92018059c38eb3eb9be265bb43d334a6e2fd Mon Sep 17 00:00:00 2001 From: Deng Wei Date: Thu, 15 Sep 2022 11:41:53 +0800 Subject: [PATCH] tundra: input touch update gesture cmd input touch update gesture cmd Change-Id: I99ee2312827b4bde99bf9329765b752f1d69a171 Signed-off-by: Deng Wei Reviewed-on: https://gerrit.mot.com/2384497 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang Submit-Approved: Jira Key --- .../input/touchscreen/goodix_berlin_mmi/goodix_ts_gesture_fod.c | 2 +- drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_mmi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_gesture_fod.c b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_gesture_fod.c index 5ff9c404296f..c66004cb6791 100644 --- a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_gesture_fod.c +++ b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_gesture_fod.c @@ -523,7 +523,7 @@ static int gsx_gesture_ist(struct goodix_ts_core *cd, #endif re_send_ges_cmd: -#if defined(PRODUCT_TUNDRA) || defined(PRODUCT_MIAMI) +#if defined(PRODUCT_MIAMI) if (hw_ops->gesture(cd, 0x80)) #else if (hw_ops->gesture(cd, 0)) diff --git a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_mmi.c b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_mmi.c index ed68d1a2f4f0..e9f3ba13a468 100644 --- a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_mmi.c +++ b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_mmi.c @@ -928,7 +928,7 @@ static int goodix_ts_mmi_panel_state(struct device *dev, case TS_MMI_PM_GESTURE: hw_ops->irq_enable(core_data, false); if (hw_ops->gesture) -#if defined(PRODUCT_TUNDRA) || defined(PRODUCT_MIAMI) +#if defined(PRODUCT_MIAMI) hw_ops->gesture(core_data, 0x80); #else hw_ops->gesture(core_data, 0);