Input: psmouse - properly reset mouse on shutdown/suspend
authorDmitry Torokhov <dtor@insightbb.com>
Sun, 18 Feb 2007 06:40:24 +0000 (01:40 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Sun, 18 Feb 2007 06:40:24 +0000 (01:40 -0500)
commita1cec06177386ecc320af643de11cfa77e8945bd
tree1c335b711acb5c2f9186da2d08da8b7a7810f755
parent8a03d9a498eaf02c8a118752050a5154852c13bf
Input: 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" roblem on various HP laptops, such
as nx7400.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h
drivers/input/mouse/synaptics.c