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-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2008-10-13 09:51:41 -07:00
2008-07-22 13:03:23 -07:00
2008-07-22 13:03:23 -07:00
2008-10-13 09:51:41 -07:00
2008-07-22 13:03:27 -07:00
2008-02-01 14:34:47 -08:00
2008-07-22 13:03:22 -07:00
2008-07-21 15:16:31 -07:00
2008-10-13 09:51:41 -07:00
2008-10-13 09:51:41 -07:00
2008-07-22 13:03:22 -07:00
2008-10-30 12:09:07 -07:00
2008-07-22 13:03:22 -07:00