]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Aug 2016 00:38:54 +0000 (17:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:34:54 +0000 (08:34 +0200)
commitad315d3cf53c2395260fb293d9046f6ffe7a2a09
treeffae8f8eafb58004678ffefd6971c7b9d406bcd1
parent9014507fff0801b53a14ab05e436610c1459a4a6
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports

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 ...")
Reported-by: Bruno Wolff III <bruno@wolff.to>
Tested-by: Bruno Wolff III <bruno@wolff.to>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/serio/i8042.c