Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83003
b: refs/heads/master
c: 9d778a6
h: refs/heads/master
i:
  83001: b60a77b
  82999: dee91a5
v: v3
  • Loading branch information
Russell King authored and Linus Torvalds committed Feb 5, 2008
1 parent eb7b192 commit a9978ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 74a197417240120d638d67d74f48655fb7f46f16
refs/heads/master: 9d778a69370cc1b643b13648df971c83ff5654ef
4 changes: 2 additions & 2 deletions trunk/drivers/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2029,8 +2029,6 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *port)
}
port->suspended = 0;

uart_change_pm(state, 0);

/*
* Re-enable the console device after suspending.
*/
Expand All @@ -2049,6 +2047,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *port)
if (state->info && state->info->tty && termios.c_cflag == 0)
termios = *state->info->tty->termios;

uart_change_pm(state, 0);
port->ops->set_termios(port, &termios, NULL);
console_start(port->cons);
}
Expand All @@ -2057,6 +2056,7 @@ int uart_resume_port(struct uart_driver *drv, struct uart_port *port)
const struct uart_ops *ops = port->ops;
int ret;

uart_change_pm(state, 0);
ops->set_mctrl(port, 0);
ret = ops->startup(port);
if (ret == 0) {
Expand Down

0 comments on commit a9978ea

Please sign in to comment.