serial: sh-sci: Allow for compressed SCIF address
authorChris Brandt <chris.brandt@renesas.com>
Tue, 31 Jul 2018 10:41:37 +0000 (05:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 08:07:09 +0000 (10:07 +0200)
commit2d4dd0da45401c7ae7332b4d1eb7bbb1348edde9
tree377127e3387ac9a8b6813d56be51626f05afd938
parent70a15ff0ed1183a8879031d6014dd6dd159ea617
serial: sh-sci: Allow for compressed SCIF address

Some devices with SCIx_SH4_SCIF_REGTYPE have no space between registers.
Use the register area size to determine the spacing between register.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c