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>
Tue, 12 Apr 2016 16:08:49 +0000 (09:08 -0700)
commitfc0768092cebd0b70a08f5423263669ea3849ef9
tree51d4ad440fd55842f944c3b7ecbb5094553d663b
parent456db805f77c45611caa217996dcb93f24afb2e5
8250: use callbacks to access UART_DLL/UART_DLM

commit 0b41ce991052022c030fd868e03877700220b090 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c