Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64582
b: refs/heads/master
c: e3758b2
h: refs/heads/master
v: v3
  • Loading branch information
Fernando Luis Vázquez Cao authored and Dmitry Torokhov committed Aug 30, 2007
1 parent 5fb52ae commit 0148180
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 29e8277defa1013f8f5367aec58161d3a81de8f7
refs/heads/master: e3758b2ab61b3001b9db4582559bbaeba5e24a29
4 changes: 3 additions & 1 deletion trunk/drivers/input/serio/i8042.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ static irqreturn_t __devinit i8042_aux_test_irq(int irq, void *dev_id)
{
unsigned long flags;
unsigned char str, data;
int ret = 0;

spin_lock_irqsave(&i8042_lock, flags);
str = i8042_read_status();
Expand All @@ -520,10 +521,11 @@ static irqreturn_t __devinit i8042_aux_test_irq(int irq, void *dev_id)
if (i8042_irq_being_tested &&
data == 0xa5 && (str & I8042_STR_AUXDATA))
complete(&i8042_aux_irq_delivered);
ret = 1;
}
spin_unlock_irqrestore(&i8042_lock, flags);

return IRQ_HANDLED;
return IRQ_RETVAL(ret);
}

/*
Expand Down

0 comments on commit 0148180

Please sign in to comment.