mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user