serial: sh-sci: Support generic SCLSR overrun detection.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 14 Jun 2011 08:53:34 +0000 (17:53 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Jun 2011 08:53:34 +0000 (17:53 +0900)
commit4b8c59a3d83e9cf2b65b16999a0c704fc72de056
treeac64f3684521db41692075421a1ca040b589723a
parent72b294cf76dcd6d37891387049ddbe3c25043cb8
serial: sh-sci: Support generic SCLSR overrun detection.

For all ports with a valid SCLSR register we can use the generic FIFO
overrun detection logic. Test the validity of the SCLSR register rather
than depending explicitly on port type, which can be ambiguous for the
SCIFA/B types.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c