]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics - ensure we reset the device on resume
authorAndy Whitcroft <apw@canonical.com>
Sat, 28 Feb 2009 20:51:01 +0000 (12:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 28 Feb 2009 22:01:32 +0000 (14:01 -0800)
commit6e2782bac81c6ce4a5d2c5af78e9664e22fe7b8c
treef9c45ec8df1ea2fa6f7158d44459f486641a568d
parentffbd6dd306695ebee62ab48588b234cb1b761a8b
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