Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338479
b: refs/heads/master
c: b0ab023
h: refs/heads/master
i:
  338477: a02fbea
  338475: a1748b7
  338471: d2d8409
  338463: ec869a4
v: v3
  • Loading branch information
Wei Yongjun authored and Greg Kroah-Hartman committed Nov 30, 2012
1 parent 6c505de commit 96d0260
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 218cbbd82132d48c6f4e042e31beb6019f92db01
refs/heads/master: b0ab02361167faa82198b783a8d555eb6f58901c
3 changes: 2 additions & 1 deletion trunk/drivers/staging/sb105x/sb_pci_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,13 +689,14 @@ static int mp_chars_in_buffer(struct tty_struct *tty)
static void mp_flush_buffer(struct tty_struct *tty)
{
struct sb_uart_state *state = tty->driver_data;
struct sb_uart_port *port = state->port;
struct sb_uart_port *port;
unsigned long flags;

if (!state || !state->info) {
return;
}

port = state->port;
spin_lock_irqsave(&port->lock, flags);
uart_circ_clear(&state->info->xmit);
spin_unlock_irqrestore(&port->lock, flags);
Expand Down

0 comments on commit 96d0260

Please sign in to comment.