From b74d20e428c7c2d10feec0eb4682174fe1db3f53 Mon Sep 17 00:00:00 2001 From: Hongming Zou Date: Tue, 19 Nov 2024 17:44:08 +0800 Subject: [PATCH] input: touchscreen: gt1x: set rst-gpio to low level after suspend Change-Id: I4ebd59e3fa10f13e39ce19dbac8b39f19518061b Signed-off-by: Hongming Zou --- drivers/input/touchscreen/gt1x/gt1x_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/gt1x/gt1x_generic.c b/drivers/input/touchscreen/gt1x/gt1x_generic.c index 132fabdd6f9f..5238aa0ae2b9 100644 --- a/drivers/input/touchscreen/gt1x/gt1x_generic.c +++ b/drivers/input/touchscreen/gt1x/gt1x_generic.c @@ -922,6 +922,7 @@ static s32 gt1x_enter_sleep(void) #if GTP_POWER_CTRL_SLEEP if (!gt1x_power_switch(SWITCH_OFF)) { + GTP_GPIO_OUTPUT(GTP_RST_PORT, 0); GTP_INFO("Enter sleep mode by poweroff"); return 0; }