git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1480d0a
)
Merge master.kernel.org:/home/rmk/linux-2.6-serial
author
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:48:37 +0000
(17:48 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:48:37 +0000
(17:48 -0800)
drivers/serial/serial_core.c
patch
|
blob
|
history
diff --git
a/drivers/serial/serial_core.c
b/drivers/serial/serial_core.c
index
2d8622e
..
401d94a
100644
(file)
--- a/
drivers/serial/serial_core.c
+++ b/
drivers/serial/serial_core.c
@@
-147,8
+147,7
@@
static int uart_startup(struct uart_state *state, int init_hw)
* once we have successfully opened the port. Also set
* up the tty->alt_speed kludge
*/
- if (info->tty)
- set_bit(TTY_IO_ERROR, &info->tty->flags);
+ set_bit(TTY_IO_ERROR, &info->tty->flags);
if (port->type == PORT_UNKNOWN)
return 0;