]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: i8042 - reset keyboard controller wehen resuming from S2R
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2010 03:25:34 +0000 (20:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:39 +0000 (13:36 -0700)
commitac1a91ede75a5311e57b1a093d8b313cd7c9f515
tree98c54cecb019ef95c4d9fb26446f98419947e5de
parente9d3ad84a2b475896c74e41036ba0e8b591fac8e
Input: i8042 - reset keyboard controller wehen resuming from S2R

commit 1ca56e513a9fd356d5a9e0de45dbe0e189e00386 upstream.

Some laptops, such as Lenovo 3000 N100, require keyboard controller reset
in order to have touchpad operable after suspend to RAM. Even if box does
not need the reset it should be safe to do so, so instead of chasing
after misbehaving boxes and grow DMI tables, let's reset the controller
unconditionally.

Reported-and-tested-by: Jerome Lacoste <jerome.lacoste@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/serio/i8042.c