Skip to content

Commit bc78e69

Browse files
dtorSasha Levin
authored andcommitted
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports
[ Upstream commit 47af45d ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 146ed73 commit bc78e69

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
@@ -1277,6 +1277,7 @@ static int __init i8042_create_aux_port(int idx)
12771277
serio->write = i8042_aux_write;
12781278
serio->start = i8042_start;
12791279
serio->stop = i8042_stop;
1280+
serio->ps2_cmd_mutex = &i8042_mutex;
12801281
serio->port_data = port;
12811282
serio->dev.parent = &i8042_platform_device->dev;
12821283
if (idx < 0) {

0 commit comments

Comments
 (0)