Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 160978
b: refs/heads/master
c: c47a830
h: refs/heads/master
v: v3
  • Loading branch information
Dick Hollenbeck authored and Russell King committed Sep 2, 2009
1 parent 8463640 commit dc9955b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 13f96d8f4c5a3f6a6b5e578d08869d79d690e0b2
refs/heads/master: c47a830c08a26a7c210ae16a0ffe3f56ba86ea69
6 changes: 5 additions & 1 deletion trunk/drivers/serial/serial_ks8695.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,11 @@ static struct console ks8695_console;
static void ks8695uart_stop_tx(struct uart_port *port)
{
if (tx_enabled(port)) {
disable_irq(KS8695_IRQ_UART_TX);
/* use disable_irq_nosync() and not disable_irq() to avoid self
* imposed deadlock by not waiting for irq handler to end,
* since this ks8695uart_stop_tx() is called from interrupt context.
*/
disable_irq_nosync(KS8695_IRQ_UART_TX);
tx_enable(port, 0);
}
}
Expand Down

0 comments on commit dc9955b

Please sign in to comment.