Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94088
b: refs/heads/master
c: e991a2b
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Apr 28, 2008
1 parent d0ed07a commit d0fac35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: ce9f9f73af0338a680d66288cbf0efe4b900e78b
refs/heads/master: e991a2bd4fa0b2f475b67dfe8f33e8ecbdcbb40b
4 changes: 3 additions & 1 deletion trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -2228,7 +2228,9 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
}
serial8250_set_mctrl(&up->port, up->port.mctrl);
spin_unlock_irqrestore(&up->port.lock, flags);
tty_termios_encode_baud_rate(termios, baud, baud);
/* Don't rewrite B0 */
if (tty_termios_baud_rate(termios))
tty_termios_encode_baud_rate(termios, baud, baud);
}

static void
Expand Down

0 comments on commit d0fac35

Please sign in to comment.