input: touchscreen: gt1x: set rst-gpio to low level after suspend

Change-Id: I4ebd59e3fa10f13e39ce19dbac8b39f19518061b
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com>
This commit is contained in:
Hongming Zou
2024-11-19 17:44:08 +08:00
committed by Tao Huang
parent 5c0b6b4799
commit b74d20e428

View File

@@ -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;
}