Commit c16c3ca7 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR

so we can now do spaced/marked parity
Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent df30b117
......@@ -629,6 +629,8 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
lcr |= PEN;
if (!(termios->c_cflag & PARODD))
lcr |= EPS;
if (termios->c_cflag & CMSPAR)
lcr |= STP;
}
port->read_status_mask = OE;
......
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