OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
serial: Fix IGNBRK handling
[uclinux-h8/linux.git]
/
drivers
/
tty
/
serial
/
bfin_uart.c
diff --git
a/drivers/tty/serial/bfin_uart.c
b/drivers/tty/serial/bfin_uart.c
index
869ceba
..
ac86a20
100644
(file)
--- a/
drivers/tty/serial/bfin_uart.c
+++ b/
drivers/tty/serial/bfin_uart.c
@@
-833,7
+833,7
@@
bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,
port->read_status_mask = OE;
if (termios->c_iflag & INPCK)
port->read_status_mask |= (FE | PE);
- if (termios->c_iflag & (BRKINT | PARMRK))
+ if (termios->c_iflag & (
IGNBRK |
BRKINT | PARMRK))
port->read_status_mask |= BI;
/*