Skip to contentSkip to conversation

Patch "Input: i8042 - set up shared ps2_cmd_mutex for AUX ports" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 5, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Input: i8042 - set up shared ps2_cmd_mutex for AUX ports

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     input-i8042-set-up-shared-ps2_cmd_mutex-for-aux-ports.patch

and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 47af45d684b5f3ae000ad448db02ce4f13f73273 Mon Sep 17 00:00:00 2001

From: Dmitry Torokhov <[email protected]>
Date: Tue, 16 Aug 2016 17:38:54 -0700
Subject: Input: i8042 - set up shared ps2_cmd_mutex for AUX ports

From: Dmitry Torokhov <[email protected]>

commit 47af45d684b5f3ae000ad448db02ce4f13f73273 upstream.

The commit 4097461897df ("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 4097461897df ("Input: i8042 - break load dependency ...")
---
 drivers/input/serio/i8042.c |    1 +
 1 file changed, 1 insertion(+)
drivers/input/serio/i8042.c +1 -0
@@ -1305,6 +1305,7 @@ static int __init i8042_create_aux_port(
 	serio->write		= i8042_aux_write;
 	serio->start		= i8042_start;
 	serio->stop		= i8042_stop;
+	serio->ps2_cmd_mutex	= &i8042_mutex;
 	serio->port_data	= port;
 	serio->dev.parent	= &i8042_platform_device->dev;
 	if (idx < 0) {

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/input-i8042-set-up-shared-ps2_cmd_mutex-for-aux-ports.patch queue-4.4/input-tegra-kbc-fix-inverted-reset-logic.patch queue-4.4/input-i8042-break-load-dependency-between-atkbd-psmouse-and-i8042.patch