serial: 8250_uniphier: fix dl_read and dl_write functions
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 19 Oct 2015 04:37:55 +0000 (13:37 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Dec 2015 05:42:31 +0000 (21:42 -0800)
commit7be047e035dc4fb1536f1694cbb932f881533ab2
tree92f9ac1b12c1914af7cab91cf60fd6e426e13e4c
parent527e9316f8ec44bd53d90fb9f611fa7ffff52bb9
serial: 8250_uniphier: fix dl_read and dl_write functions

The register offset must be shifted by regshift, otherwise the
baudrate is not set.  I missed the issue probably because the
divisor register was already set by the boot loader.

Fixes: 1a8d2903cb6a ("serial: 8250_uniphier: add UniPhier serial driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_uniphier.c