From 866aada56306f62c14fdf15233f094e7a33a5319 Mon Sep 17 00:00:00 2001 From: litong Date: Wed, 3 Jun 2020 16:48:47 +0800 Subject: [PATCH] Set the type of release event to the correct value. When the release event is received, the value of the type should not be modified to TS_COORDINATE_ACTION_NONE, it should always be TS_COORDINATE_ACTION_RELEASE. Change-Id: I871567c0a32ce30611f6e50d86e9c5af06353360 Reviewed-on: https://gerrit.mot.com/1597584 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jialei Hao Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- .../input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c b/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c index 3f4dbe452e93..b941ff0da238 100644 --- a/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c +++ b/drivers/input/touchscreen/touchscreen_mmi/touchscreen_mmi_gesture.c @@ -255,7 +255,6 @@ static int ts_mmi_touch_event_poison_slot_handler(struct touch_event_data *tev, if (ts_mmi_touch_event_rescue_slot(tev->id)) pr_info("%s: Poison slot(%d) rescued\n", __func__, tev->id); tev->skip_report = true; - tev->type = TS_COORDINATE_ACTION_NONE; } } } else if (tev->type == TS_COORDINATE_ACTION_MOVE) {