projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/serial/bfin_5xx.c
b/drivers/serial/bfin_5xx.c
index 787dc7168f3e00925f9a7b26bacefb995f58fdd4..aeb3cc23a813c6be218eefc70944dc28888d35f7 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;