Input: psmouse - reset all types of mice before reconnecting
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 13 May 2010 07:42:23 +0000 (00:42 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:16:11 +0000 (11:16 -0700)
commit28c02526fa62beda0a30fe88154bab53cb2b86d7
tree05a59a693c9242bde98f9dc4f5c6dfa851bcddcb
parentd8a022afa2e1b3da28c8381b783ec1fd55480e18
Input: psmouse - reset all types of mice before reconnecting

commit ef110b24e28f36620f63dab94708a17c7e267358 upstream.

Synaptics hardware requires resetting device after suspend to ram
in order for the device to be operational. The reset lives in
synaptics-specific reconnect handler, but it is not being invoked
if synaptics support is disabled and the device is handled as a
standard PS/2 device (bare or IntelliMouse protocol).

Let's add reset into generic reconnect handler as well.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/psmouse-base.c