diff options
| -rw-r--r-- | drivers/tty/serial/sh-sci-common.h | 1 | ||||
| -rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci-common.h b/drivers/tty/serial/sh-sci-common.h index 1b9480c7f4cb..abcd5bcc7c36 100644 --- a/drivers/tty/serial/sh-sci-common.h +++ b/drivers/tty/serial/sh-sci-common.h @@ -8,6 +8,7 @@ /* Private port IDs */ enum SCI_PORT_TYPE { RSCI_PORT_SCIF16 = BIT(7) | 0, + RSCI_PORT_SCIF32 = BIT(7) | 1, }; enum SCI_CLKS { diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 624ef41701f2..a63370f22574 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -1184,7 +1184,7 @@ static int sci_handle_errors(struct uart_port *port) static bool sci_is_rsci_type(u8 type) { - return (type == RSCI_PORT_SCIF16); + return (type == RSCI_PORT_SCIF16 || type == RSCI_PORT_SCIF32); } static int sci_handle_fifo_overrun(struct uart_port *port) |
