Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199844
b: refs/heads/master
c: ca3e442
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Greg Kroah-Hartman committed Jun 4, 2010
1 parent 8126f26 commit 6b1d288
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 99ec88f345945208c650b54279dddc8dfd705571
refs/heads/master: ca3e442e8dbbe2551473f36f0e7797b1d3205f5a
7 changes: 6 additions & 1 deletion trunk/drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,12 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
}

baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
quot = uart_get_divisor(port, baud) - ANOMALY_05000230;
quot = uart_get_divisor(port, baud);

/* If discipline is not IRDA, apply ANOMALY_05000230 */
if (termios->c_line != N_IRDA)
quot -= ANOMALY_05000230;

spin_lock_irqsave(&uart->port.lock, flags);

UART_SET_ANOMALY_THRESHOLD(uart, USEC_PER_SEC / baud * 15);
Expand Down

0 comments on commit 6b1d288

Please sign in to comment.