Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235511
b: refs/heads/master
c: 5933a16
h: refs/heads/master
i:
  235509: d75570e
  235507: 9f5662c
  235503: eed7400
v: v3
  • Loading branch information
Yin Kangkai authored and Greg Kroah-Hartman committed Feb 3, 2011
1 parent 812385b commit 9bdc4d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d8653d305ef66861c91fa7455fb8038460a7274c
refs/heads/master: 5933a161abcb8d83a2c145177f48027c3c0a8995
6 changes: 3 additions & 3 deletions trunk/drivers/tty/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
/*
* Re-enable the console device after suspending.
*/
if (console_suspend_enabled && uart_console(uport)) {
if (uart_console(uport)) {
/*
* First try to use the console cflag setting.
*/
Expand All @@ -2077,9 +2077,9 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *uport)
if (port->tty && port->tty->termios && termios.c_cflag == 0)
termios = *(port->tty->termios);

uart_change_pm(state, 0);
uport->ops->set_termios(uport, &termios, NULL);
console_start(uport->cons);
if (console_suspend_enabled)
console_start(uport->cons);
}

if (port->flags & ASYNC_SUSPENDED) {
Expand Down

0 comments on commit 9bdc4d6

Please sign in to comment.