Input: i8042 - try disabling and re-enabling AUX port at close
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 10 Sep 2009 02:08:15 +0000 (19:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Sep 2009 05:11:35 +0000 (22:11 -0700)
Ever since we switched from having a polling timer to registering IRQ
handlers for both keyboard and AUX ports at the driver registration
time, on certain boxes probing for a mouse results in keyboard
stopping working. The only real difference between old and new way is
that before we disabled ports after unsuccessful probe whereas now we
leave them as is. Try to emulate the old behavior by disabling and
immediately re-enabling AUX and KBD ports when corresponding serio
port is being closed.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found