Input: synaptics - ensure we reset the device on resume
commit4d368456808c977b8e9782dbe9542cf8ddedbab8
authorAndy Whitcroft <apw@canonical.com>
Sat, 28 Feb 2009 20:51:01 +0000 (28 12:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 28 Feb 2009 22:01:32 +0000 (28 14:01 -0800)
treef9c45ec8df1ea2fa6f7158d44459f486641a568d
parent139ebe8dc80dd74cb2ac9f5603d18fbf5cff049f
Input: synaptics - ensure we reset the device on resume

When resuming from suspend newer Synaptics touchpads do not recover
correctly.  Analysis of the resume sequence as applied in Linux was
compared to that of other operating systems.  This indicated that the
other OSs were resetting the mouse before attempting to detect it (for
all Synaptics touchpads, old and new).  Applying this same modification
fixes these newer Synaptics touchpads and brings the driver into line
with common OS reset behaviour.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c