Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299443
b: refs/heads/master
c: d3a7b83
h: refs/heads/master
i:
  299441: 988f26b
  299439: 3241e22
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Apr 20, 2012
1 parent 1c483f2 commit c1e0e6f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: af6d17cdc8c89aeb3101f0d27cd32fc0592b40b2
refs/heads/master: d3a7b83f865b46bb7b5e1ed18a129ce1af349db4
4 changes: 3 additions & 1 deletion trunk/drivers/tty/amiserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,10 @@ static int set_serial_info(struct tty_struct *tty, struct serial_state *state,
(new_serial.close_delay != port->close_delay) ||
(new_serial.xmit_fifo_size != state->xmit_fifo_size) ||
((new_serial.flags & ~ASYNC_USR_MASK) !=
(port->flags & ~ASYNC_USR_MASK)))
(port->flags & ~ASYNC_USR_MASK))) {
tty_unlock();
return -EPERM;
}
port->flags = ((port->flags & ~ASYNC_USR_MASK) |
(new_serial.flags & ASYNC_USR_MASK));
state->custom_divisor = new_serial.custom_divisor;
Expand Down

0 comments on commit c1e0e6f

Please sign in to comment.