Skip to content

Commit d08b1af

Browse files
JeffyCNrkhuangtao
authored andcommitted
input: touchscreen: gt1x: Add missing power on in resume
Add missing power on to pair with the power off in suspend. Change-Id: I676b57dd8ba9aff108a3b57c4350d272d54ca996 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
1 parent 6bca974 commit d08b1af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/input/touchscreen/gt1x/gt1x_generic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ static s32 gt1x_wakeup_sleep(void)
985985
gt1x_irq_disable();
986986

987987
#if GTP_POWER_CTRL_SLEEP /* power manager unit control the procedure */
988+
gt1x_power_switch(SWITCH_ON);
988989
gt1x_power_reset();
989990
GTP_INFO("Wakeup by poweron");
990991
return 0;

0 commit comments

Comments
 (0)