Input: synaptics - fix touchpad not working after S2R on Vostro V13
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:05:53 +0000 (00:05 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:06:56 +0000 (00:06 -0800)
commit8521478f67e95ada4e87970c7b41e504c724b2cf
tree4062db2eb34382a242116a575396b31dca679103
parent3a7f8fb1d8c9b6a066b0452cea47c85547c97723
Input: synaptics - fix touchpad not working after S2R on Vostro V13

Synaptics touchpads on several Dell laptops, particularly Vostro V13
systems, may not respond properly to PS/2 commands and queries immediately
after resuming from suspend to RAM. This leads to unresponsive touchpad
after suspend/resume cycle.

Adding a 1-second delay after resetting the device allows touchpad to
finish initializing (calibrating?) and start reacting properly.

Reported-by: Daniel Manrique <daniel.manrique@canonical.com>
Tested-by: Daniel Manrique <daniel.manrique@canonical.com>
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c