Jiri Slaby 0326e6d596 mxser: remove tty_port_tty_get from mxser_check_modem_status
mxser_check_modem_status is called with tty parameter, so the
reference should be increased by callers already -- for ioctl
syscall it is held whole time gap since open to close, for
interrupt, the reference count is increased in the irq handler.

There is no tty_kref_put in that function, so this also fixes
a refcounting bug.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-06 14:36:33 -07:00
..
2009-04-01 08:59:08 -07:00
2009-01-02 10:19:38 -08:00
2008-12-13 11:25:49 -08:00
2008-12-13 09:12:07 +00:00
2008-12-03 21:04:09 +11:00
2009-01-02 10:28:32 -08:00
2009-04-06 14:36:33 -07:00
2009-01-31 01:21:59 +01:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-02 10:19:40 -08:00
2009-01-12 16:37:00 -08:00
2009-04-02 19:04:49 -07:00
2009-01-08 16:44:03 -07:00
2009-02-22 09:23:02 -08:00
2009-01-02 10:19:40 -08:00
2009-03-16 08:34:35 -06:00
2009-04-02 19:05:01 -07:00
2009-03-31 23:00:28 -04:00
2009-03-31 23:00:28 -04:00
2009-01-02 10:19:40 -08:00