serial: Enable Freescale 16550 workaround on arm
authorScott Wood <scottwood@freescale.com>
Wed, 7 Oct 2015 22:31:21 +0000 (17:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 04:05:46 +0000 (21:05 -0700)
commitd43b54d269d27bd512f36e4f0f3d129be582ebc8
tree73c7fdbada94876b24ea7bffffc0dbd0c686019c
parent37f0679964fa8a1c345accb4a36da09c07d3b6a3
serial: Enable Freescale 16550 workaround on arm

The same serial hardware is present on LS2080A which is arm64, and
LS1021A which is arm32, so don't limit the workaround to PPC.

Unlike PPC which uses arch/powerpc/kernel/legacy_serial.c, the ARM
targets use drivers/tty/serial/of_serial.c, so add the handle_irq
override check there as well.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/Kconfig
drivers/tty/serial/of_serial.c