Input: synaptics - fix touchpad not working after S2R on Vostro V13
commit5cb6d2895e510f77514ef15c8f061621f09e4d78
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:05:53 +0000 (12 00:05 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Jan 2012 22:13:49 +0000 (6 14:13 -0800)
tree73b09bafbaf76169b04239b37860a88bf54b663d
parent43579d76bdd733c9baf131bbc29719c2a2821569
Input: synaptics - fix touchpad not working after S2R on Vostro V13

commit 8521478f67e95ada4e87970c7b41e504c724b2cf upstream.

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>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/synaptics.c