Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4955
b: refs/heads/master
c: 70c8337
h: refs/heads/master
i:
  4953: b5e0b75
  4951: 0fcc978
v: v3
  • Loading branch information
Nishanth Aravamudan authored and David S. Miller committed Jul 25, 2005
1 parent ea2f601 commit 6484156
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 4564203d76599973da9c5cbcd93057252414ac9e
refs/heads/master: 70c83375bb47cadd60fdb923ad913d4f4be75aba
6 changes: 2 additions & 4 deletions trunk/drivers/sbus/char/aurora.c
Original file line number Diff line number Diff line change
Expand Up @@ -1515,8 +1515,7 @@ static void aurora_close(struct tty_struct * tty, struct file * filp)
*/
timeout = jiffies+HZ;
while(port->SRER & SRER_TXEMPTY) {
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(port->timeout);
msleep_interruptible(jiffies_to_msecs(port->timeout));
if (time_after(jiffies, timeout))
break;
}
Expand All @@ -1533,8 +1532,7 @@ static void aurora_close(struct tty_struct * tty, struct file * filp)
port->tty = 0;
if (port->blocked_open) {
if (port->close_delay) {
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(port->close_delay);
msleep_interruptible(jiffies_to_msecs(port->close_delay));
}
wake_up_interruptible(&port->open_wait);
}
Expand Down

0 comments on commit 6484156

Please sign in to comment.