Commit c3ea202d authored by Vojtech Pavlik's avatar Vojtech Pavlik Committed by Vojtech Pavlik

psmouse-base.c:

  Enlarge the timeout for PS/2 mouse full reset.
parent 5b48a707
...@@ -223,7 +223,7 @@ int psmouse_command(struct psmouse *psmouse, unsigned char *param, int command) ...@@ -223,7 +223,7 @@ int psmouse_command(struct psmouse *psmouse, unsigned char *param, int command)
psmouse->cmdcnt = receive; psmouse->cmdcnt = receive;
if (command == PSMOUSE_CMD_RESET_BAT) if (command == PSMOUSE_CMD_RESET_BAT)
timeout = 2000000; /* 2 sec */ timeout = 4000000; /* 4 sec */
if (command & 0xff) if (command & 0xff)
if (psmouse_sendbyte(psmouse, command & 0xff)) if (psmouse_sendbyte(psmouse, command & 0xff))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment