mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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>
This commit is contained in:
parent
a830df367c
commit
4bdd488f4b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user