diff options
Diffstat (limited to 'drivers/isdn/i4l/isdn_tty.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index b37ef1f06b3d..356ee485be4b 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -1721,8 +1721,7 @@ isdn_tty_close(struct tty_struct *tty, struct file *filp) | |||
1721 | */ | 1721 | */ |
1722 | timeout = jiffies + HZ; | 1722 | timeout = jiffies + HZ; |
1723 | while (!(info->lsr & UART_LSR_TEMT)) { | 1723 | while (!(info->lsr & UART_LSR_TEMT)) { |
1724 | set_current_state(TASK_INTERRUPTIBLE); | 1724 | schedule_timeout_interruptible(20); |
1725 | schedule_timeout(20); | ||
1726 | if (time_after(jiffies,timeout)) | 1725 | if (time_after(jiffies,timeout)) |
1727 | break; | 1726 | break; |
1728 | } | 1727 | } |