From ee2732d81413b9064dee63fce49ae75f069a8f8b Mon Sep 17 00:00:00 2001 From: longc Date: Thu, 24 Aug 2023 17:48:25 +0800 Subject: [PATCH] :tp:when tp sleep rst high Change-Id: I63ea78a06be9cd9d2f4fed866d1b25ea6bce6fe1 WHY:need tp rst high HOW:add tp pull function Reviewed-on: https://gerrit.mot.com/2719699 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Wei Deng Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- drivers/input/touchscreen/chipone_tddi_v2_mmi/cts_core.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/chipone_tddi_v2_mmi/cts_core.c b/drivers/input/touchscreen/chipone_tddi_v2_mmi/cts_core.c index 84143af4c4a9..8fd9cc3c9704 100644 --- a/drivers/input/touchscreen/chipone_tddi_v2_mmi/cts_core.c +++ b/drivers/input/touchscreen/chipone_tddi_v2_mmi/cts_core.c @@ -1581,7 +1581,11 @@ int cts_suspend_device(struct cts_device *cts_dev) cts_info("Device suspended ..."); cts_dev->rtdata.suspended = true; - +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,15,0) + cts_info("rst -------- high"); + cts_plat_set_reset(cts_dev->pdata, 1); + cts_info("rst -------- high++"); +#endif return 0; }