aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/bfin_5xx.c2
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,
629 lcr |= PEN; 629 lcr |= PEN;
630 if (!(termios->c_cflag & PARODD)) 630 if (!(termios->c_cflag & PARODD))
631 lcr |= EPS; 631 lcr |= EPS;
632 if (termios->c_cflag & CMSPAR)
633 lcr |= STP;
632 } 634 }
633 635
634 port->read_status_mask = OE; 636 port->read_status_mask = OE;