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)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 Jun 2016 08:42:46 +0000 (10:42 +0200)
commitd86c21c5fd6c6b05ebd9a4cda74d3b6d8a87f896
treefd26ca6ef591c3a62a4c77e85ec565e65a7c1187
parent1c7f227a50d9944c0b6d360c9b9fa0f31004420a
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/tty/serial/8250/8250_core.c