aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c
index cd8511298bcb..ff21200f94f4 100644
--- a/drivers/serial/serial_core.c
+++ b/drivers/serial/serial_core.c
@@ -2065,7 +2065,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
2065 /* 2065 /*
2066 * Re-enable the console device after suspending. 2066 * Re-enable the console device after suspending.
2067 */ 2067 */
2068 if (uart_console(uport)) { 2068 if (console_suspend_enabled && uart_console(uport)) {
2069 uart_change_pm(state, 0); 2069 uart_change_pm(state, 0);
2070 uport->ops->set_termios(uport, &termios, NULL); 2070 uport->ops->set_termios(uport, &termios, NULL);
2071 console_start(uport->cons); 2071 console_start(uport->cons);