Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57816
b: refs/heads/master
c: 19aa638
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Jun 11, 2007
1 parent 24ad39b commit 0500d54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf68676222e54cd0a31efd968da00e65f9a0963f
refs/heads/master: 19aa6382e3c927b8ec5caec7b74c3dc555101146
11 changes: 5 additions & 6 deletions trunk/drivers/serial/bfin_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,12 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios,

if (termios->c_cflag & CSTOPB)
lcr |= STB;
if (termios->c_cflag & PARENB) {
if (termios->c_cflag & PARENB)
lcr |= PEN;
if (!(termios->c_cflag & PARODD))
lcr |= EPS;
if (termios->c_cflag & CMSPAR)
lcr |= STP;
}
if (!(termios->c_cflag & PARODD))
lcr |= EPS;
if (termios->c_cflag & CMSPAR)
lcr |= STP;

port->read_status_mask = OE;
if (termios->c_iflag & INPCK)
Expand Down

0 comments on commit 0500d54

Please sign in to comment.