Skip to content

Commit 47af45d

Browse files
committed
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports
The commit 4097461 ("Input: i8042 - break load dependency ...") correctly set up ps2_cmd_mutex pointer for the KBD port but forgot to do the same for AUX port(s), which results in communication on KBD and AUX ports to clash with each other. Fixes: 4097461 ("Input: i8042 - break load dependency ...") Reported-by: Bruno Wolff III <[email protected]> Tested-by: Bruno Wolff III <[email protected]> Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 22fe874 commit 47af45d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/input/serio/i8042.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ static int __init i8042_create_aux_port(int idx)
13051305
serio->write = i8042_aux_write;
13061306
serio->start = i8042_start;
13071307
serio->stop = i8042_stop;
1308+
serio->ps2_cmd_mutex = &i8042_mutex;
13081309
serio->port_data = port;
13091310
serio->dev.parent = &i8042_platform_device->dev;
13101311
if (idx < 0) {

0 commit comments

Comments
 (0)