From 195fc44e84a1e59e1af1342c3b7e7dd29b896b0a Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Mon, 17 Oct 2022 12:21:58 +0200 Subject: [PATCH] sm7125: input: touchscreen: fts5cu56a: Don't report KEY_BLACK_UI_GESTURE on FOD events Change-Id: I96c9a211fdc59080318d95daebe91b5982322867 --- drivers/input/touchscreen/stm/fts5cu56a/fts_ts.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/input/touchscreen/stm/fts5cu56a/fts_ts.c b/drivers/input/touchscreen/stm/fts5cu56a/fts_ts.c index 59648fcb43e1..ce64fd045948 100755 --- a/drivers/input/touchscreen/stm/fts5cu56a/fts_ts.c +++ b/drivers/input/touchscreen/stm/fts5cu56a/fts_ts.c @@ -2153,9 +2153,6 @@ static u8 fts_event_handler_type_b(struct fts_ts_info *info) __func__, p_gesture_status->gesture_id); break; } - input_report_key(info->input_dev, KEY_BLACK_UI_GESTURE, 1); - input_sync(info->input_dev); - input_report_key(info->input_dev, KEY_BLACK_UI_GESTURE, 0); break; } }