aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
-rw-r--r--drivers/tty/serial/serial_core.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index e562b122446..9f72be28e6f 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -244,6 +244,13 @@ static void uart_shutdown(struct tty_struct *tty, struct uart_state *state)
244 } 244 }
245 245
246 /* 246 /*
247 * It's possible for shutdown to be called after suspend if we get
248 * a DCD drop (hangup) at just the right time. Clear suspended bit so
249 * we don't try to resume a port that has been shutdown.
250 */
251 clear_bit(ASYNCB_SUSPENDED, &port->flags);
252
253 /*
247 * Free the transmit buffer page. 254 * Free the transmit buffer page.
248 */ 255 */
249 if (state->xmit.buf) { 256 if (state->xmit.buf) {