commit | 424cc0391222695225632a3f2ccb0aed3e57b2e5 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Thu Aug 25 15:12:07 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Aug 25 09:00:41 2011 -0700 |
tree | be94826b93afa195f81b9f92fc2550b4a48fe4d0 | |
parent | a57a7bf3fc7eff00f07eb9c805774d911a3f2472 [diff] |
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 <jslaby@suse.cz> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>