Bladeren bron

Input: synaptics - don't complain about failed resets

On many laptops (Compaq, HP) the touchpad is so slow responding
to reset that keyboard controller times out. The device is reset
nonetheless and works fine. Kill the "synaptics reset failed"
error; if device is not working then other parts of
synaptics_query_hardware() will fail anyway.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 18 jaren geleden
bovenliggende
commit
4bdd488f4b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      drivers/input/mouse/synaptics.c

+ 1 - 1
drivers/input/mouse/synaptics.c

@@ -185,7 +185,7 @@ static int synaptics_query_hardware(struct psmouse *psmouse)
 	int retries = 0;
 	int retries = 0;
 
 
 	while ((retries++ < 3) && psmouse_reset(psmouse))
 	while ((retries++ < 3) && psmouse_reset(psmouse))
-		printk(KERN_ERR "synaptics reset failed\n");
+		/* empty */;
 
 
 	if (synaptics_identify(psmouse))
 	if (synaptics_identify(psmouse))
 		return -1;
 		return -1;