diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-06-11 09:31:30 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-11 09:31:30 +0200 |
commit | c16c3ca79abcb69a9e45f7c15f8358b3915c0e49 (patch) | |
tree | ea144d38a5051130dbd5f1ff86d5a927880df7de /drivers/serial | |
parent | Blackfin arch: move HI/LO macros into blackfin.h and punt the rest of macros.... (diff) | |
download | linux-c16c3ca79abcb69a9e45f7c15f8358b3915c0e49.tar.xz linux-c16c3ca79abcb69a9e45f7c15f8358b3915c0e49.zip |
Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR
so we can now do spaced/marked parity
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 787dc7168f3e..aeb3cc23a813 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c @@ -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; |