Commit 0fc1896d authored by Richard Henderson's avatar Richard Henderson

Merge ssh://are.twiddle.net/BK/axp-2.5

into dot.sfbay.redhat.com:/dot/bang/rth/linux/axp-2.5
parents 5b3e7241 9e8626bd
...@@ -244,8 +244,9 @@ static int atkbd_command(struct atkbd *atkbd, unsigned char *param, int command) ...@@ -244,8 +244,9 @@ static int atkbd_command(struct atkbd *atkbd, unsigned char *param, int command)
while (atkbd->cmdcnt && timeout--) udelay(10); while (atkbd->cmdcnt && timeout--) udelay(10);
for (i = 0; i < receive; i++) if (param)
param[i] = atkbd->cmdbuf[(receive - 1) - i]; for (i = 0; i < receive; i++)
param[i] = atkbd->cmdbuf[(receive - 1) - i];
if (atkbd->cmdcnt) if (atkbd->cmdcnt)
return (atkbd->cmdcnt = 0) - 1; return (atkbd->cmdcnt = 0) - 1;
......
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