commit | 9f8c0b081daff1dbf9ca889560bf25aef0a75207 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Apr 02 13:54:07 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Apr 09 11:18:36 2012 -0700 |
tree | a3461d2c5af87afcb8294656dc9cf0c685a57a2e | |
parent | 30409420d2e181215745fdc7052446b439e0221f [diff] |
TTY: hso, use tty from tty_port We switched tty refcounting there to the one provided by tty_port helpers. So tty_port->tty is now protected by tty_port->lock, not by hso_serial->serial_lock. Side note: tty->driver_data does not need the lock, so it is needed neither in open, nor in close paths. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Jan Dumon <j.dumon@option.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>