Input: psmouse - do not force stream mode
authorDmitry Torokhov <dtor@insightbb.com>
Wed, 7 Mar 2007 06:44:59 +0000 (01:44 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Wed, 7 Mar 2007 06:44:59 +0000 (01:44 -0500)
Forcing stream mode after reset confuses some devices (reported
by Andrea Arcangeli) so let's take it out - spec says that after
reset mouse should already be in stream mode.

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

index eb63855..33a3251 100644 (file)
@@ -835,12 +835,6 @@ static void psmouse_set_rate(struct psmouse *psmouse, unsigned int rate)
 
 static void psmouse_initialize(struct psmouse *psmouse)
 {
-/*
- * We set the mouse into streaming mode.
- */
-
-       ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSTREAM);
-
 /*
  * We set the mouse report rate, resolution and scaling.
  */