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
/
sunzilog.c
diff --git
a/drivers/tty/serial/sunzilog.c
b/drivers/tty/serial/sunzilog.c
index
a2c40ed
..
a85db8b
100644
(file)
--- a/
drivers/tty/serial/sunzilog.c
+++ b/
drivers/tty/serial/sunzilog.c
@@
-915,7
+915,7
@@
sunzilog_convert_to_zs(struct uart_sunzilog_port *up, unsigned int cflag,
up->port.read_status_mask = Rx_OVR;
if (iflag & INPCK)
up->port.read_status_mask |= CRC_ERR | PAR_ERR;
- if (iflag & (BRKINT | PARMRK))
+ if (iflag & (
IGNBRK |
BRKINT | PARMRK))
up->port.read_status_mask |= BRK_ABRT;
up->port.ignore_status_mask = 0;