Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecc2e05e authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

tty_port: Fix return on interrupted use



Whoops.. fortunately not many people use this yet.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4b0a8404
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -267,7 +267,7 @@ int tty_port_block_til_ready(struct tty_port *port,
	if (retval == 0)
	if (retval == 0)
		port->flags |= ASYNC_NORMAL_ACTIVE;
		port->flags |= ASYNC_NORMAL_ACTIVE;
	spin_unlock_irqrestore(&port->lock, flags);
	spin_unlock_irqrestore(&port->lock, flags);
	return 0;
	return retval;
	
	
}
}
EXPORT_SYMBOL(tty_port_block_til_ready);
EXPORT_SYMBOL(tty_port_block_til_ready);