Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364279
b: refs/heads/master
c: 6a3f45d
h: refs/heads/master
i:
  364277: a738071
  364275: d3e29f9
  364271: 410a339
v: v3
  • Loading branch information
Heikki Krogerus authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent ef80ae5 commit e2e0628
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2be818a116b22dff518f0d7112e6bed39f2034a1
refs/heads/master: 6a3f45dccfa3db4de43aabc2f75a337e878f9b4b
4 changes: 4 additions & 0 deletions trunk/drivers/tty/serial/8250/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -3247,6 +3247,10 @@ int serial8250_register_8250_port(struct uart_8250_port *up)
uart->tx_loadsz = up->tx_loadsz;
uart->capabilities = up->capabilities;

/* Take tx_loadsz from fifosize if it wasn't set separately */
if (uart->port.fifosize && !uart->tx_loadsz)
uart->tx_loadsz = uart->port.fifosize;

if (up->port.dev)
uart->port.dev = up->port.dev;

Expand Down

0 comments on commit e2e0628

Please sign in to comment.