Commit 4f00bd8f authored by Russell King's avatar Russell King

[ARM PATCH] 1361/1: EPXA10DB: Correct some typos in uart00.c

Patch from Dirk Behme

Patch some typos in uart00.c. frame is selected with FE_MSK and for OE_MSK rds
must be used.
parent 76a1ee06
/*
* linux/drivers/char/uart00.c
* linux/drivers/serial/uart00.c
*
* Driver for UART00 serial ports
*
......@@ -149,7 +149,7 @@ uart00_rx_chars(struct uart_port *port, struct pt_regs *regs)
goto ignore_char;
} else if (rds & UART_RDS_PE_MSK)
port->icount.parity++;
else if (rds & UART_RDS_PE_MSK)
else if (rds & UART_RDS_FE_MSK)
port->icount.frame++;
if (rds & UART_RDS_OE_MSK)
port->icount.overrun++;
......@@ -168,7 +168,7 @@ uart00_rx_chars(struct uart_port *port, struct pt_regs *regs)
else if (rds & UART_RDS_FE_MSK)
flg = TTY_FRAME;
if (status & UART_RDS_OE_MSK) {
if (rds & UART_RDS_OE_MSK) {
/*
* CHECK: does overrun affect the current character?
* ASSUMPTION: it does not.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment