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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Aug 2016 17:08:49 +0000 (10:08 -0700)
commit47af45d684b5f3ae000ad448db02ce4f13f73273
tree91cff56382a4be7ad86670f11800426a9b6c4313
parent22fe874f380336315dd0440dad475ff326784b22
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports

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>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042.c