OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df30b11
)
Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR
author
Mike Frysinger
<michael.frysinger@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000
(15:31 +0800)
committer
Bryan Wu
<bryan.wu@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000
(15:31 +0800)
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>
drivers/serial/bfin_5xx.c
patch
|
blob
|
history
diff --git
a/drivers/serial/bfin_5xx.c
b/drivers/serial/bfin_5xx.c
index
787dc71
..
aeb3cc2
100644
(file)
--- 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;