Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84336
b: refs/heads/master
c: a8399c5
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Torokhov committed Jan 21, 2008
1 parent 113a4a4 commit 3e3caf9
Show file tree
Hide file tree
Showing 2 changed files with 9 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: f0b92b961b222fa1012058a773dfca1c5f21a498
refs/heads/master: a8399c512b5fa2cf80831f5b4cd3adffd299fbe3
9 changes: 8 additions & 1 deletion trunk/drivers/input/serio/i8042.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,14 @@ static void i8042_stop(struct serio *serio)
struct i8042_port *port = serio->port_data;

port->exists = 0;
synchronize_sched();

/*
* We synchronize with both AUX and KBD IRQs because there is
* a (very unlikely) chance that AUX IRQ is raised for KBD port
* and vice versa.
*/
synchronize_irq(I8042_AUX_IRQ);
synchronize_irq(I8042_KBD_IRQ);
port->serio = NULL;
}

Expand Down

0 comments on commit 3e3caf9

Please sign in to comment.