aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/mouse/alps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index da18c977e7b8..433638e7e4af 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -2395,6 +2395,9 @@ int alps_init(struct psmouse *psmouse)
2395 /* We are having trouble resyncing ALPS touchpads so disable it for now */ 2395 /* We are having trouble resyncing ALPS touchpads so disable it for now */
2396 psmouse->resync_time = 0; 2396 psmouse->resync_time = 0;
2397 2397
2398 /* Allow 2 invalid packets without resetting device */
2399 psmouse->resetafter = psmouse->pktsize * 2;
2400
2398 return 0; 2401 return 0;
2399 2402
2400init_fail: 2403init_fail: