From f3c7f1769eff110467d4b372d958772753396573 Mon Sep 17 00:00:00 2001 From: haojl2 Date: Mon, 17 Jun 2019 11:17:57 +0800 Subject: [PATCH] focaltech_0flash: Release events in suspend TP: Release all input event before detachedvice go to suspend. Change-Id: I0f6513cb5075a7dc5afd9ff3a1e3fd104cebc582 Signed-off-by: haojl2 Reviewed-on: https://gerrit.mot.com/1371914 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c index 5ea3f1716f4b..93347b31cd36 100755 --- a/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c +++ b/drivers/input/touchscreen/focaltech_0flash_mmi/focaltech_core.c @@ -1649,6 +1649,7 @@ static int fts_ts_suspend(struct device *dev) #endif } + fts_release_all_finger(); ts_data->suspended = true; FTS_FUNC_EXIT(); return 0;