Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189558
b: refs/heads/master
c: c70c036
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Apr 7, 2010
1 parent 4c20720 commit 093d291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a8557dc71949e80c298ec298b902ac6ebbc5d9dd
refs/heads/master: c70c036f04b7b74282477d6a51bbcc8bb8897e03
4 changes: 2 additions & 2 deletions trunk/drivers/char/amiserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -2021,8 +2021,6 @@ static int __init rs_init(void)
state->baud_base = amiga_colorclock;
state->xmit_fifo_size = 1;

local_irq_save(flags);

/* set ISRs, and then disable the rx interrupts */
error = request_irq(IRQ_AMIGA_TBE, ser_tx_int, 0, "serial TX", state);
if (error)
Expand All @@ -2033,6 +2031,8 @@ static int __init rs_init(void)
if (error)
goto fail_free_irq;

local_irq_save(flags);

/* turn off Rx and Tx interrupts */
custom.intena = IF_RBF | IF_TBE;
mb();
Expand Down

0 comments on commit 093d291

Please sign in to comment.