From: Jiri Slaby Date: Thu, 25 Aug 2011 13:12:07 +0000 (+0200) Subject: TTY: use tty_wait_until_sent_from_close in tty_port_close_start X-Git-Tag: v3.2-rc1~170^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=424cc0391222695225632a3f2ccb0aed3e57b2e5;p=pandora-kernel.git TTY: use tty_wait_until_sent_from_close in tty_port_close_start Let's use the newly added helper to avoid stalls in drivers which are already ported to tty_port helpers. We have to ensure here, that there is no user of tty_port_close_start and tty_port_close which holds port->mutex (or other) lock over them. And sure, there is none. Signed-off-by: Jiri Slaby Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed