Thread (3 messages) 3 messages, 3 authors, 2014-11-03

[PATCH RESEND] tty: serial: 8250_mtk: Fix quot calculation

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-10-31 16:48:52
Also in: linux-serial, lkml

On Friday 31 October 2014 17:36:35 Matthias Brugger wrote:
-               quot = DIV_ROUND_CLOSEST(port->uartclk, 256 * baud);
+               quot = (port->uartclk / (256 * baud)) + 1;
Should this be DIV_ROUND_UP then?

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help