diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-02-18 01:40:24 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-02-18 01:40:24 -0500 |
commit | a1cec06177386ecc320af643de11cfa77e8945bd (patch) | |
tree | 1c335b711acb5c2f9186da2d08da8b7a7810f755 /drivers/input/mouse/synaptics.c | |
parent | 8a03d9a498eaf02c8a118752050a5154852c13bf (diff) |
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>
Diffstat (limited to 'drivers/input/mouse/synaptics.c')
-rw-r--r-- | drivers/input/mouse/synaptics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 49ac696d6cff..f0f9413d762c 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -652,6 +652,7 @@ int synaptics_init(struct psmouse *psmouse) | |||
652 | psmouse->set_rate = synaptics_set_rate; | 652 | psmouse->set_rate = synaptics_set_rate; |
653 | psmouse->disconnect = synaptics_disconnect; | 653 | psmouse->disconnect = synaptics_disconnect; |
654 | psmouse->reconnect = synaptics_reconnect; | 654 | psmouse->reconnect = synaptics_reconnect; |
655 | psmouse->cleanup = synaptics_reset; | ||
655 | psmouse->pktsize = 6; | 656 | psmouse->pktsize = 6; |
656 | /* Synaptics can usually stay in sync without extra help */ | 657 | /* Synaptics can usually stay in sync without extra help */ |
657 | psmouse->resync_time = 0; | 658 | psmouse->resync_time = 0; |