Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248646
b: refs/heads/master
c: 4fd53ef
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Apr 19, 2011
1 parent f95db1b commit 64ddac9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 52ea383aba4d86d213622b2d4a94b01b4439fe11
refs/heads/master: 4fd53ef5c97ef7ce909c18bf7fb8b5cdd72b08c1
4 changes: 0 additions & 4 deletions trunk/drivers/tty/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1972,13 +1972,9 @@ int uart_suspend_port(struct uart_driver *drv, struct uart_port *uport)
struct tty_port *port = &state->port;
struct device *tty_dev;
struct uart_match match = {uport, drv};
struct tty_struct *tty;

mutex_lock(&port->mutex);

/* Must be inside the mutex lock until we convert to tty_port */
tty = port->tty;

tty_dev = device_find_child(uport->dev, &match, serial_match_port);
if (device_may_wakeup(tty_dev)) {
if (!enable_irq_wake(uport->irq))
Expand Down

0 comments on commit 64ddac9

Please sign in to comment.