From ef8168b1f5d9ac18f4cbdf027fdbf9ce3026e348 Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Fri, 17 Mar 2023 00:05:22 +0600 Subject: [PATCH] drivers/input: oplus-ts-v2: hardcode touchscreen gesture support Change-Id: Iceff8f4fa78d05934967cbc60d9f468552dd1df7 Signed-off-by: Vaisakh Murali --- .../touchscreen/oplus_touchscreen_v2/touchpanel_common.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/oplus_touchscreen_v2/touchpanel_common.h b/drivers/input/touchscreen/oplus_touchscreen_v2/touchpanel_common.h index d405eff90dc4..1e12cc801887 100644 --- a/drivers/input/touchscreen/oplus_touchscreen_v2/touchpanel_common.h +++ b/drivers/input/touchscreen/oplus_touchscreen_v2/touchpanel_common.h @@ -136,10 +136,8 @@ #undef TP_ALL_GESTURE_ENABLE #endif -#define TP_ALL_GESTURE_SUPPORT \ - (ts->black_gesture_support || ts->fingerprint_underscreen_support) -#define TP_ALL_GESTURE_ENABLE \ - ((ts->gesture_enable & 0x01) == 1 || ts->fp_enable) +#define TP_ALL_GESTURE_SUPPORT 1 +#define TP_ALL_GESTURE_ENABLE 1 /*********PART3:Struct Area**********************/