|
@@ -1374,8 +1374,7 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
|
|
if (port->blocked_open) {
|
|
if (port->blocked_open) {
|
|
spin_unlock_irqrestore(&port->lock, flags);
|
|
spin_unlock_irqrestore(&port->lock, flags);
|
|
if (port->close_delay)
|
|
if (port->close_delay)
|
|
- msleep_interruptible(
|
|
|
|
- jiffies_to_msecs(port->close_delay));
|
|
|
|
|
|
+ msleep_interruptible(jiffies_to_msecs(port->close_delay));
|
|
spin_lock_irqsave(&port->lock, flags);
|
|
spin_lock_irqsave(&port->lock, flags);
|
|
} else if (!uart_console(uport)) {
|
|
} else if (!uart_console(uport)) {
|
|
spin_unlock_irqrestore(&port->lock, flags);
|
|
spin_unlock_irqrestore(&port->lock, flags);
|