Skip to content

Commit 5a02034

Browse files
author
Josh-Tsai
committed
Fixed: Touchpad doesn't in P2P mode when EC re-enables PS2 mouse
When the host doesn't read the touchpad, EC will do the PS2M re-enabling. EC does not set up the touchpad to P2P mode, so the touchpad cannot be used. Signed-off-by: Josh-Tsai <josh_tsai@compal.com>
1 parent 03897d4 commit 5a02034

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

board/hx20/ps2mouse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ void mouse_interrupt_handler_task(void *p)
510510
}
511511
if (evt & PS2MOUSE_EVT_REENABLE) {
512512
CPRINTS("PS2M renabling");
513+
setup_touchpad();
513514
gpio_enable_interrupt(GPIO_SOC_TP_INT_L);
514515
gpio_enable_interrupt(GPIO_EC_I2C_3_SDA);
515516
}

0 commit comments

Comments
 (0)