android_kernel_xiaomi_sm8350/drivers/usb/serial
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
..
aircable.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ark3116.c
belkin_sa.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
belkin_sa.h
bus.c
ch341.c
ChangeLog.history
console.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
cp2101.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
cyberjack.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
cypress_m8.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
cypress_m8.h
digi_acceleport.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
empeg.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ezusb_convert.pl
ezusb.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ftdi_sio.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ftdi_sio.h USB: Add Oceanic product ID to ftdi_sio 2008-10-17 14:40:50 -07:00
funsoft.c
garmin_gps.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
generic.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
hp4x.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
io_16654.h
io_edgeport.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h
io_ti.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
io_ti.h
io_usbvend.h
ipaq.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ipaq.h
ipw.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
ir-usb.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
iuu_phoenix.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
iuu_phoenix.h
Kconfig USB Serial Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
keyspan_pda.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
keyspan.h
kl5kusb105.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
kl5kusb105.h
kobil_sct.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
kobil_sct.h
Makefile
Makefile-keyspan_pda_fw
mct_u232.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
mct_u232.h
mos7720.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
mos7840.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
moto_modem.c
navman.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
omninet.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
option.c USB: support Huawei data card product IDs 2008-10-22 10:05:28 -07:00
oti6858.c tty: usb-serial krefs 2008-10-13 09:51:41 -07:00
oti6858.h
pl2303.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
pl2303.h USB: pl2023: Remove USB id (4348:5523) handled by ch341 2008-08-13 17:32:50 -07:00
safe_serial.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
sierra.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
spcp8x5.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
ti_usb_3410_5052.c USB: remove info() macro from usb/serial drivers 2008-10-17 14:41:09 -07:00
ti_usb_3410_5052.h
usb_debug.c
usb-serial.c tty: Fix USB kref leak 2008-10-30 12:09:07 -07:00
visor.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
visor.h
whiteheat.c USB: remove use of err() in drivers/usb/serial 2008-10-17 14:41:10 -07:00
whiteheat.h