From 55ee1068f36c8e15379e2d961be60da5849925f2 Mon Sep 17 00:00:00 2001 From: haojl2 Date: Sun, 25 Aug 2019 01:12:41 +0800 Subject: [PATCH] himax_v2_mmi: Do not report points when IC suspend TP: Do not report points when IC suspend. Change-Id: I4f896764eb40f100b29c26b1c7923bd6e464a0d5 Signed-off-by: haojl2 Reviewed-on: https://gerrit.mot.com/1409611 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- drivers/input/touchscreen/himax_v2_mmi/himax_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/himax_v2_mmi/himax_common.c b/drivers/input/touchscreen/himax_v2_mmi/himax_common.c index 744031008f9f..01651823c831 100644 --- a/drivers/input/touchscreen/himax_v2_mmi/himax_common.c +++ b/drivers/input/touchscreen/himax_v2_mmi/himax_common.c @@ -2757,7 +2757,8 @@ static void himax_report_points(struct himax_ts_data *ts) ts->palm_release_delay_ms); #endif return; - } + } else if (ts->suspended) + return; } #endif if (ts->hx_point_num != 0)