From 9910ab9139313ed079cbc5ec6d2838f8ea3c986a Mon Sep 17 00:00:00 2001 From: Wenge Zhu Date: Wed, 3 Aug 2022 15:38:06 +0800 Subject: [PATCH] Remove unused send touch IC config 1.There is no need to send IC config,this func is a workaround way for old goodix touch IC to upgrade config again after upgrade touch firmware. 2.Also this func will load config to ram when driver loaded,affecting touch firmware update. Change-Id: Icce7a8d57090305231e7f69b2150715578299896 Signed-off-by: Wenge Zhu Reviewed-on: https://gerrit.mot.com/2352764 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jun Weng Reviewed-by: Yeqing Wang Reviewed-by: Jianqi Yang Submit-Approved: Jira Key --- drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c index f274b1aed751..12522344b88b 100644 --- a/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c +++ b/drivers/input/touchscreen/goodix_berlin_mmi/goodix_ts_core.c @@ -2336,10 +2336,12 @@ static int goodix_later_init_thread(void *data) goto uninit_fw; } +#ifndef CONFIG_INPUT_TOUCHSCREEN_MMI /* the recomend way to update ic config is throuth ISP, * if not we will send config with interactive mode */ goodix_send_ic_config(cd, CONFIG_TYPE_NORMAL); +#endif #ifdef CONFIG_INPUT_TOUCHSCREEN_MMI stage2_init: