Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287059
b: refs/heads/master
c: 7735983
h: refs/heads/master
i:
  287057: 5ddf27a
  287055: 260929a
v: v3
  • Loading branch information
Simon Glass authored and Greg Kroah-Hartman committed Jan 25, 2012
1 parent 97b9a99 commit ff9bcf7
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: a5492e6591b8fdf171236046f9d6194f9bb4062b
refs/heads/master: 773598357c0baf03081cf87f2b444f97744faf1e
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 @@ -2348,11 +2348,11 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *uport)
*/
tty_dev = tty_register_device(drv->tty_driver, uport->line, uport->dev);
if (likely(!IS_ERR(tty_dev))) {
device_init_wakeup(tty_dev, 1);
device_set_wakeup_enable(tty_dev, 0);
} else
device_set_wakeup_capable(tty_dev, 1);
} else {
printk(KERN_ERR "Cannot register tty device on line %d\n",
uport->line);
}

/*
* Ensure UPF_DEAD is not set.
Expand Down

0 comments on commit ff9bcf7

Please sign in to comment.