Commit 9e8626bd authored by Richard Henderson's avatar Richard Henderson Committed by Richard Henderson

Avoid oops on systems that set atkbd_reset.

parent 820447aa
......@@ -244,6 +244,7 @@ static int atkbd_command(struct atkbd *atkbd, unsigned char *param, int command)
while (atkbd->cmdcnt && timeout--) udelay(10);
if (param)
for (i = 0; i < receive; i++)
param[i] = atkbd->cmdbuf[(receive - 1) - i];
......
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