TTY: use tty_wait_until_sent_from_close in other drivers
authorJiri Slaby <jslaby@suse.cz>
Thu, 25 Aug 2011 13:12:08 +0000 (15:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 16:00:42 +0000 (09:00 -0700)
commit0b058353abfcdba4403af60f06998da590ebeffe
tree6e4012e7b9f99b2772849edb15b65c1e3a8e2fed
parent424cc0391222695225632a3f2ccb0aed3e57b2e5
TTY: use tty_wait_until_sent_from_close in other drivers

Let's use the newly added helper to avoid stalls in drivers which are
not yet ported to tty_port helpers.

Those which are broken (call tty_wait_until_sent with irqs disabled)
are left untouched. They are in a deeper trouble than we are trying to
solve here. This includes amiserial, 68328serial, 68360serial and
crisv10.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/isdn/i4l/isdn_tty.c
drivers/tty/hvc/hvc_console.c
drivers/tty/hvc/hvcs.c
drivers/tty/serial/serial_core.c
net/irda/ircomm/ircomm_tty.c