Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346941
b: refs/heads/master
c: 71a129f
h: refs/heads/master
i:
  346939: 03d189c
v: v3
  • Loading branch information
Rolf Eike Beer authored and Dmitry Torokhov committed Nov 10, 2012
1 parent 3c71133 commit 0301f2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 800963fd598e2acbcd3a21a17e3ab3c185ad0d6a
refs/heads/master: 71a129fb6153ca7a972c31dddb09c2f097262e6e
11 changes: 5 additions & 6 deletions trunk/drivers/input/serio/hil_mlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -686,13 +686,12 @@ static int hilse_donode(hil_mlc *mlc)
write_lock_irqsave(&mlc->lock, flags);
pack = node->object.packet;
out:
if (mlc->istarted)
goto out2;
/* Prepare to receive input */
if ((node + 1)->act & HILSE_IN)
hilse_setup_input(mlc, node + 1);
if (!mlc->istarted) {
/* Prepare to receive input */
if ((node + 1)->act & HILSE_IN)
hilse_setup_input(mlc, node + 1);
}

out2:
write_unlock_irqrestore(&mlc->lock, flags);

if (down_trylock(&mlc->osem)) {
Expand Down

0 comments on commit 0301f2d

Please sign in to comment.