Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267364
b: refs/heads/master
c: d208a3b
h: refs/heads/master
v: v3
  • Loading branch information
Doug Anderson authored and Greg Kroah-Hartman committed Oct 19, 2011
1 parent 185362e commit fee7932
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 32cffe537c7d426cfe33647fed403d409ea3f686
refs/heads/master: d208a3bf77f902283894f546b6b5383202cf7882
7 changes: 7 additions & 0 deletions trunk/drivers/tty/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,13 @@ static void uart_shutdown(struct tty_struct *tty, struct uart_state *state)
synchronize_irq(uport->irq);
}

/*
* It's possible for shutdown to be called after suspend if we get
* a DCD drop (hangup) at just the right time. Clear suspended bit so
* we don't try to resume a port that has been shutdown.
*/
clear_bit(ASYNCB_SUSPENDED, &port->flags);

/*
* Free the transmit buffer page.
*/
Expand Down

0 comments on commit fee7932

Please sign in to comment.