Alan Cox fce4877a67 tty: Fix USB kref leak
When we close we must clear the extra reference we got when we read
port->tty. Setting the port tty NULL will clear the kref held by the driver
but not the one we obtained ourselves while doing the lookup.

Signed-off-by: Alan Cox <alan@redhat.com>
Tested-by: Helge Hafting <helge.hafting@aitel.hist.no>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-30 12:09:07 -07:00
..
2008-10-26 10:27:01 +01:00
2008-10-30 15:55:47 +01:00
2008-10-26 09:35:05 -07:00
2008-10-30 11:38:46 -07:00
2008-10-28 15:50:54 -07:00
2008-10-25 04:07:14 -04:00
2008-10-23 00:11:07 -04:00
2008-10-23 09:35:18 -07:00
2008-10-30 12:09:07 -07:00
2008-10-30 11:38:47 -07:00
2008-10-23 09:19:47 -07:00
2008-10-28 21:47:17 +00:00