tundra: input touch update gesture cmd

input touch
update gesture cmd

Change-Id: I99ee2312827b4bde99bf9329765b752f1d69a171
Signed-off-by: Deng Wei <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2384497
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
Deng Wei 2022-09-15 11:41:53 +08:00 • committed by Wei Deng
commit 211f920180
2 changed files with 2 additions and 2 deletions

View file

@ -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))

View file

@ -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);