[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
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