]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Dec 2012 11:20:13 +0000 (11:20 +0000)
commitc01751fb136fa85b8be135ef36440bda699a299f
treef44a5298789b90862dc1498de6f9535de0547cf1
parentebe02a7b9e68501ef9a0dc9b04f3370c056b896e
Input: i8042 - also perform controller reset when suspending

commit 1729ad1f4f9e167ade84ca8b5269695c42351160 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/input/serio/i8042.c