]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Backport of psmouse suspend/shutdown cleanups
authorThomas Renninger <trenn@suse.de>
Thu, 22 Feb 2007 12:52:40 +0000 (13:52 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 3 Mar 2007 00:32:45 +0000 (16:32 -0800)
commit8658e1a8a8d97810287f8a8daef91e42aeb36cb8
tree788216481d8834f395538b982acd731443ce8e3f
parentf3db3bf1da4b6f839b51083c09289a25c02c2429
Backport of psmouse suspend/shutdown cleanups

This patch works back to 2.6.17 (earlier kernels seem to
need up/down operations on mutex/semaphore).

psmouse - properly reset mouse on shutdown/suspend

Some people report that they need psmouse module unloaded
for suspend to ram/disk to work properly. Let's make port
cleanup behave the same way as driver unload.

This fixes "bad state" problem on various HP laptops, such
as nx7400.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/synaptics.c