Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163826
b: refs/heads/master
c: 24d481e
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Live-CD User committed Sep 19, 2009
1 parent fb9d032 commit 28b04ba
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: 1c2f04937b3e397a5695953c6b82aa4c77d21eb8
refs/heads/master: 24d481ecae1614cf02e638c8dce9b6e8bf230603
4 changes: 3 additions & 1 deletion trunk/drivers/serial/8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -2272,7 +2272,9 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios,
/*
* Ask the core to calculate the divisor for us.
*/
baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
baud = uart_get_baud_rate(port, termios, old,
port->uartclk / 16 / 0xffff,
port->uartclk / 16);
quot = serial8250_get_divisor(port, baud);

/*
Expand Down

0 comments on commit 28b04ba

Please sign in to comment.