Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196080
b: refs/heads/master
c: 60bd940
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and Greg Kroah-Hartman committed May 21, 2010
1 parent d9a7263 commit c83c5b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 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: f4d10ca895841ec0090bed81e614b6c731ac7d7d
refs/heads/master: 60bd940f142741092b95a2e572f81741dc867545
17 changes: 1 addition & 16 deletions trunk/drivers/serial/bfin_sport_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,27 +500,12 @@ static void sport_set_termios(struct uart_port *port,

spin_lock_irqsave(&up->port.lock, flags);

port->read_status_mask = OE;
if (termios->c_iflag & INPCK)
port->read_status_mask |= (FE | PE);
if (termios->c_iflag & (BRKINT | PARMRK))
port->read_status_mask |= BI;
port->read_status_mask = 0;

/*
* Characters to ignore
*/
port->ignore_status_mask = 0;
if (termios->c_iflag & IGNPAR)
port->ignore_status_mask |= FE | PE;
if (termios->c_iflag & IGNBRK) {
port->ignore_status_mask |= BI;
/*
* If we're ignoring parity and break indicators,
* ignore overruns too (for real raw support).
*/
if (termios->c_iflag & IGNPAR)
port->ignore_status_mask |= OE;
}

/* RX extract mask */
up->rxmask = 0x01 | (((up->csize + up->stopb) * 2 - 1) << 0x8);
Expand Down

0 comments on commit c83c5b9

Please sign in to comment.