Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276831
b: refs/heads/master
c: 8521478
h: refs/heads/master
i:
  276829: 3a06e4a
  276827: 084f5b8
  276823: ad12d34
  276815: 8b6d189
  276799: c0aa65c
v: v3
  • Loading branch information
Dmitry Torokhov committed Dec 12, 2011
1 parent ff2670c commit 1eb19a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a7f8fb1d8c9b6a066b0452cea47c85547c97723
refs/heads/master: 8521478f67e95ada4e87970c7b41e504c724b2cf
11 changes: 11 additions & 0 deletions trunk/drivers/input/mouse/synaptics.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

#include <linux/module.h>
#include <linux/delay.h>
#include <linux/dmi.h>
#include <linux/input/mt.h>
#include <linux/serio.h>
Expand Down Expand Up @@ -1220,6 +1221,16 @@ static int synaptics_reconnect(struct psmouse *psmouse)

do {
psmouse_reset(psmouse);
if (retry) {
/*
* On some boxes, right after resuming, the touchpad
* needs some time to finish initializing (I assume
* it needs time to calibrate) and start responding
* to Synaptics-specific queries, so let's wait a
* bit.
*/
ssleep(1);
}
error = synaptics_detect(psmouse, 0);
} while (error && ++retry < 3);

Expand Down

0 comments on commit 1eb19a9

Please sign in to comment.