aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/serial_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index a32dc4362224..e562b1224466 100644
--- a/drivers/tty/serial/serial_core.c
+++ b/drivers/tty/serial/serial_core.c
@@ -1975,6 +1975,8 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
1975 if (port->tty && port->tty->termios && termios.c_cflag == 0) 1975 if (port->tty && port->tty->termios && termios.c_cflag == 0)
1976 termios = *(port->tty->termios); 1976 termios = *(port->tty->termios);
1977 1977
1978 if (console_suspend_enabled)
1979 uart_change_pm(state, 0);
1978 uport->ops->set_termios(uport, &termios, NULL); 1980 uport->ops->set_termios(uport, &termios, NULL);
1979 if (console_suspend_enabled) 1981 if (console_suspend_enabled)
1980 console_start(uport->cons); 1982 console_start(uport->cons);