mips: msp71xx/serial: add workaround for DW UART
authorJamie Iles <jamie@jamieiles.com>
Mon, 15 Aug 2011 09:17:54 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:53:00 +0000 (10:53 -0700)
commit03972fc21410907fa20d1442c4b073f034423d5c
tree5abf7994b94c9778bb15c307c0db3e92c78e7464
parent91e8db593c0a2d8249ac00422af1ed42537a3b16
mips: msp71xx/serial: add workaround for DW UART

The Synopsys DesignWare UART in pmc-sierra msp71xx has an extra feature
where the UART detects a write attempt to the LCR whilst busy and raises
an interrupt.  The driver needs to clear the interrupt and rewrite the
LCR.  Move this into platform code and out of the 8250 driver.

Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/pmc-sierra/msp71xx/msp_serial.c