Просмотр исходного кода

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 лет назад
Родитель
Сommit
4bdd488f4b
1 измененных файлов с 1 добавлено и 1 удалено
  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;
 
 	while ((retries++ < 3) && psmouse_reset(psmouse))
-		printk(KERN_ERR "synaptics reset failed\n");
+		/* empty */;
 
 	if (synaptics_identify(psmouse))
 		return -1;