Re: [PATCH 68/68] TTY: isdn/gigaset, use tty_port
From: Tilman Schmidt <hidden>
Date: 2012-03-05 17:08:05
Also in:
lkml
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 05.03.2012 14:52, schrieb Jiri Slaby:
Let us port the code to use tty_port. We now use open_count and tty from there. This allows us also to use tty_port_tty_set with tty refcounting instead of hand-written locking and logic. Note that tty and open_count are no longer protected by cs->lock. It is protected by tty_port->lock. But since all the places where they were used are now switched to the helpers, we are fine. Signed-off-by: Jiri Slaby <redacted> Cc: Hansjoerg Lipp <redacted> Cc: Tilman Schmidt <redacted> Cc: gigaset307x-common@lists.sourceforge.net
Very nice. Thanks! Acked-by: Tilman Schmidt <redacted> - -- Tilman Schmidt E-Mail: tilman@imap.cc Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9U8vAACgkQQ3+did9BuFv8RACeLMRSUGhjotg0il1LtWqtfrzR sakAn0LJr66dYyUXteH44p5+KFQuS5v9 =Is+Q -----END PGP SIGNATURE-----