]> git.baikalelectronics.ru Git - kernel.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Jul 2010 03:32:21 +0000 (20:32 -0700)
commit4397ba45f7f0309a2486ea6635c82450766a7d29
treee260d6d14f188ac6a0269e66986abbdb231f715d
parent448e79515a075a89d76cf43b7c6b090bd92615d8
Input: i8042 - reset keyboard controller wehen resuming from S2R

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>
drivers/input/serio/i8042.c