Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145365
b: refs/heads/master
c: a3ce6ea
h: refs/heads/master
i:
  145363: 9238137
v: v3
  • Loading branch information
Dmitry Torokhov committed May 28, 2009
1 parent 8226e2b commit f32a82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 346a850e3c3a20159cef2b79235e6d34aa497c65
refs/heads/master: a3ce6ea46cc0d6397d1b92b1a5983bb2935306ed
2 changes: 1 addition & 1 deletion trunk/drivers/input/serio/libps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ int ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command)
timeout = wait_event_timeout(ps2dev->wait,
!(ps2dev->flags & PS2_FLAG_CMD1), timeout);

if (ps2dev->cmdcnt && timeout > 0) {
if (ps2dev->cmdcnt && !(ps2dev->flags & PS2_FLAG_CMD1)) {

timeout = ps2_adjust_timeout(ps2dev, command, timeout);
wait_event_timeout(ps2dev->wait,
Expand Down

0 comments on commit f32a82e

Please sign in to comment.