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)
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>

No differences found