Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338357
b: refs/heads/master
c: b15d538
h: refs/heads/master
i:
  338355: 136f9be
v: v3
  • Loading branch information
Alexey Brodkin authored and Greg Kroah-Hartman committed Oct 24, 2012
1 parent 967afcd commit e15f440
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 9484b009b57b6523a5c7477a899f4438942febde
refs/heads/master: b15d5380e471f9ce27180b14d5080abc2e2f30ec
2 changes: 1 addition & 1 deletion trunk/drivers/tty/serial/8250/8250_early.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static void __init init_port(struct early_serial8250_device *device)
serial_out(port, UART_FCR, 0); /* no fifo */
serial_out(port, UART_MCR, 0x3); /* DTR + RTS */

divisor = port->uartclk / (16 * device->baud);
divisor = DIV_ROUND_CLOSEST(port->uartclk, 16 * device->baud);
c = serial_in(port, UART_LCR);
serial_out(port, UART_LCR, c | UART_LCR_DLAB);
serial_out(port, UART_DLL, divisor & 0xff);
Expand Down

0 comments on commit e15f440

Please sign in to comment.