serial: 8250: Move UART_BUG_QUOT workaround
authorPeter Hurley <peter@hurleysoftware.com>
Thu, 22 Jan 2015 17:24:26 +0000 (12:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:27 +0000 (10:11 -0800)
commitd1f2f219319813070c022e841f48bfd0fe17fd34
treea2f73cb32605312c8a828c2b7151958ddbafdbfd
parent01ba8d6af4b76aee99a8ae3a76748c8c36db49f3
serial: 8250: Move UART_BUG_QUOT workaround

The UART_BUG_QUOT workaround adjusts the divisor computed from the
baud rate by serial8250_get_divisor(). Move the workaround into
serial8250_get_divisor(), so that divisor-from-baud computation
is encapsulated.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c