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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 30 Apr 2016 22:05:14 +0000 (00:05 +0200)
commit8fb7e4488e20229828e54187b6aa3ed5cd7cb315
tree4e604feb0457db25e20af98b23050885a59512d4
parent04f9f49992bc7097e2f408b18c1523ca58169196
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>
[bwh: Backported to 3.2:
 - Adjust filename
 - We're using serial_{in,out}p for 8-bit I/O]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/tty/serial/8250.c