Skip to content

Commit 7f7ceb4

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 setup the touchpad to P2P mode, so the touchpad cannot be used. Signed-off-by: Josh-Tsai <josh_tsai@compal.com>i
1 parent 4711905 commit 7f7ceb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

board/hx30/ps2mouse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ void mouse_interrupt_handler_task(void *p)
507507
}
508508
if (evt & PS2MOUSE_EVT_REENABLE) {
509509
CPRINTS("PS2M renabling");
510+
setup_touchpad();
510511
gpio_enable_interrupt(GPIO_SOC_TP_INT_L);
511512
gpio_enable_interrupt(GPIO_EC_I2C_3_SDA);
512513
}

0 commit comments

Comments
 (0)