Input: i8042 - also perform controller reset when suspending
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Oct 2011 19:37:06 +0000 (12:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 5 Nov 2011 07:01:56 +0000 (00:01 -0700)
commit1729ad1f4f9e167ade84ca8b5269695c42351160
tree361bf91a7f300574a0ab064f2b8847f02bb26be4
parentfb6c721b69d4ac518b9be6de8f44ba87a0c0d235
Input: i8042 - also perform controller reset when suspending

In addition to some laptops needing i8042 reset after resuming from S2R to
get their touchpads working there is another class of laptops - ones that
need i8042 reset before going to S2R, otherwise they will simply reboot
instead of resuming.

See https://bugzilla.kernel.org/show_bug.cgi?id=15612

This change forces reset of i8042 before doing S2R.

Reported-by: Stefan Koch <stefan_koch@gmx.net>
Tested-by: Alexander van Loon <a.vanloon@alexandervanloon.nl>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c