From 86843361fe5333ec4d99aca10f3191a1429d0a0b Mon Sep 17 00:00:00 2001 From: Yan Zhang Date: Tue, 24 May 2022 11:27:43 +0800 Subject: [PATCH] Add timestamp log for FOD debug Tundra: Add timestamp log before and after image capture for debug ICON issue. Change-Id: Iec96b515c2c62b97cf4b6b865aa4d9c9df0d84b5 Signed-off-by: Yan Zhang Reviewed-on: https://gerrit.mot.com/2277879 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Xiangpo Zhao Tested-by: Jira Key Submit-Approved: Jira Key --- drivers/input/misc/rbs_fod_mmi/etxxx_fp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/rbs_fod_mmi/etxxx_fp.c b/drivers/input/misc/rbs_fod_mmi/etxxx_fp.c index 27b809299b8d..b4e4068acd8b 100644 --- a/drivers/input/misc/rbs_fod_mmi/etxxx_fp.c +++ b/drivers/input/misc/rbs_fod_mmi/etxxx_fp.c @@ -755,7 +755,9 @@ long egisfp_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) } g_fps_mode = data.int_mode; DEBUG_PRINT(" %s : FP_SET_FPS_MODE to %d \n", __func__,g_fps_mode); - FPS_notify(0xbeef, (g_fps_mode > 0)? 1: 0); + if(g_fps_mode < 5) { + FPS_notify(0xbeef, (g_fps_mode > 0)? 1: 0); + } #endif break; default: