Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361229
b: refs/heads/master
c: 064256f
h: refs/heads/master
i:
  361227: 59debfe
v: v3
  • Loading branch information
Jonas Gorski authored and Greg Kroah-Hartman committed Mar 12, 2013
1 parent 16e9d7c commit 3dacd17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 8d2f8cd424ca0b99001f3ff4f5db87c4e525f366
refs/heads/master: 064256feab4f94d2dc894b181e2f82769966f6c7
8 changes: 4 additions & 4 deletions trunk/drivers/tty/serial/bcm63xx_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static const char *bcm_uart_type(struct uart_port *port)
*/
static void bcm_uart_do_rx(struct uart_port *port)
{
struct tty_port *port = &port->state->port;
struct tty_port *tty_port = &port->state->port;
unsigned int max_count;

/* limit number of char read in interrupt, should not be
Expand All @@ -260,7 +260,7 @@ static void bcm_uart_do_rx(struct uart_port *port)
bcm_uart_writel(port, val, UART_CTL_REG);

port->icount.overrun++;
tty_insert_flip_char(port, 0, TTY_OVERRUN);
tty_insert_flip_char(tty_port, 0, TTY_OVERRUN);
}

if (!(iestat & UART_IR_STAT(UART_IR_RXNOTEMPTY)))
Expand Down Expand Up @@ -299,11 +299,11 @@ static void bcm_uart_do_rx(struct uart_port *port)


if ((cstat & port->ignore_status_mask) == 0)
tty_insert_flip_char(port, c, flag);
tty_insert_flip_char(tty_port, c, flag);

} while (--max_count);

tty_flip_buffer_push(port);
tty_flip_buffer_push(tty_port);
}

/*
Expand Down

0 comments on commit 3dacd17

Please sign in to comment.