8250: use callbacks to access UART_DLL/UART_DLM
authorSebastian Frias <sf84@laposte.net>
Fri, 18 Dec 2015 16:40:05 +0000 (17:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:38:42 +0000 (22:38 -0800)
commit0b41ce991052022c030fd868e03877700220b090
tree2711d62edf57cfbe8dc8ee9698aa36ef00acc7df
parentaaa68c50b28c903a2fa53aad3d5fd17e8cc7f492
8250: use callbacks to access UART_DLL/UART_DLM

Some UART HW has a single register combining UART_DLL/UART_DLM
(this was probably forgotten in the change that introduced the
callbacks, commit b32b19b8ffc05cbd3bf91c65e205f6a912ca15d9)

Fixes: b32b19b8ffc0 ("[SERIAL] 8250: set divisor register correctly ...")
Signed-off-by: Sebastian Frias <sf84@laposte.net>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c