From 84dde5803333554f7370d63d7605ea5dbf3715a9 Mon Sep 17 00:00:00 2001 From: haojl2 Date: Thu, 29 Aug 2019 16:01:45 +0800 Subject: [PATCH] himax_v2_mmi: report 0 when enable called TP: For palm sensor, report 0 when enable called. Change-Id: I6a3c554f0fdc4adbc4d46d8d3035664682e95222 Signed-off-by: haojl2 Reviewed-on: https://gerrit.mot.com/1412577 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- drivers/input/touchscreen/himax_v2_mmi/himax_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/himax_v2_mmi/himax_common.c b/drivers/input/touchscreen/himax_v2_mmi/himax_common.c index 59ec756ba96f..6ed87176efcd 100644 --- a/drivers/input/touchscreen/himax_v2_mmi/himax_common.c +++ b/drivers/input/touchscreen/himax_v2_mmi/himax_common.c @@ -2889,6 +2889,7 @@ static int himax_palm_detect_sensor_set_enable(struct sensors_classdev *sensors_ E("unknown enable symbol\n"); } mutex_unlock(&private_ts->suspend_resume_mutex); + himax_palm_detect_func(private_ts, false); return ret; }