Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163854
b: refs/heads/master
c: 7b01478
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Live-CD User committed Sep 19, 2009
1 parent be187e7 commit cde8a47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 016af53a6de6837e5be3da68901083ea85ebb4da
refs/heads/master: 7b01478f97a671c97fad9254aa91892209b018b5
6 changes: 3 additions & 3 deletions trunk/drivers/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,7 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
tty_ldisc_flush(tty);

tty->closing = 0;
port->tty = NULL;
tty_port_tty_set(port, NULL);

if (port->blocked_open) {
if (port->close_delay)
Expand Down Expand Up @@ -1431,7 +1431,7 @@ static void uart_hangup(struct tty_struct *tty)
uart_shutdown(state);
port->count = 0;
clear_bit(ASYNCB_NORMAL_ACTIVE, &port->flags);
port->tty = NULL;
tty_port_tty_set(port, NULL);
wake_up_interruptible(&port->open_wait);
wake_up_interruptible(&port->delta_msr_wait);
}
Expand Down Expand Up @@ -1639,7 +1639,7 @@ static int uart_open(struct tty_struct *tty, struct file *filp)
state->uart_port->state = state;
tty->low_latency = (state->uart_port->flags & UPF_LOW_LATENCY) ? 1 : 0;
tty->alt_speed = 0;
port->tty = tty;
tty_port_tty_set(port, tty);

/*
* If the port is in the middle of closing, bail out now.
Expand Down

0 comments on commit cde8a47

Please sign in to comment.