android_kernel_xiaomi_sm8350/drivers/usb/serial
Frank Gevaerts b059c81af7 [PATCH] USB Serial: clean tty fields on failed device open
If either the driver's open() method or try_module_get() fails, we need to
set 'tty->driver_data' and 'port->tty' to NULL in serial_open(), otherwise
we'll get an OOPS in usb_device_disconnect() when the device is disconnected.

Signed-off-by: Frank Gevaerts <frank.gevaerts@fks.be>
Acked-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:17 -07:00
..
airprime.c [PATCH] airprime.c: add Kyocera Wireless KPC650/Passport support 2006-06-21 15:04:16 -07:00
anydata.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
ark3116.c [PATCH] USB: add ark3116 usb to serial driver 2006-05-12 11:58:09 -07:00
belkin_sa.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
belkin_sa.h
bus.c [PATCH] Add usb_serial_bus_type probe and remove methods 2006-01-13 11:26:09 -08:00
ChangeLog.history
console.c [PATCH] USB console: fix disconnection issues 2006-06-21 15:04:09 -07:00
cp2101.c [PATCH] USB: new cp2101 device 2006-06-21 15:04:12 -07:00
cyberjack.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
cypress_m8.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
cypress_m8.h [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
digi_acceleport.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
empeg.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
ezusb_convert.pl
ezusb.c
ftdi_sio.c [PATCH] USB: ftdi_sio: add support for Yost Engineering ServoCenter3.1 2006-06-21 15:04:14 -07:00
ftdi_sio.h [PATCH] USB: ftdi_sio: add support for Yost Engineering ServoCenter3.1 2006-06-21 15:04:14 -07:00
funsoft.c [PATCH] USB: add driver for funsoft usb serial device 2006-04-14 11:12:27 -07:00
garmin_gps.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
generic.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
hp4x.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
io_16654.h
io_edgeport.c [PATCH] USB: io_edgeport touch-up 2006-06-21 15:04:16 -07:00
io_edgeport.h [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
io_fw_boot2.h [PATCH] USB: mark various usb tables const 2006-01-04 13:51:40 -08:00
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h
io_ti.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
io_ti.h
io_usbvend.h
ipaq.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
ipaq.h
ipw.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
ir-usb.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
Kconfig [PATCH] USB: new devices for the Option driver 2006-06-21 15:04:16 -07:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
keyspan.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
keyspan.h [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
kl5kusb105.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
kl5kusb105.h
kobil_sct.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
kobil_sct.h
Makefile [PATCH] USB: add ark3116 usb to serial driver 2006-05-12 11:58:09 -07:00
Makefile-keyspan_pda_fw
mct_u232.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
mct_u232.h
navman.c [PATCH] USB serial: add navman driver 2006-03-20 14:50:03 -08:00
omninet.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
option.c [PATCH] USB: new devices for the Option driver 2006-06-21 15:04:16 -07:00
pl2303.c [PATCH] USB: Syntax cleanup for pl2303 (trailing backslash) 2006-06-21 15:04:13 -07:00
pl2303.h [PATCH] USB: add new iTegno usb CDMA 1x card support for pl2303 2006-04-27 10:28:57 -07:00
safe_serial.c [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
ti_usb_3410_5052.h
usb-serial.c [PATCH] USB Serial: clean tty fields on failed device open 2006-06-21 15:04:17 -07:00
usb-serial.h [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
visor.c [PATCH] USB serial: encapsulate schedule_work, remove double-calling 2006-06-21 15:04:13 -07:00
visor.h [PATCH] USB: visor.c id for gspda smartphone 2006-02-28 12:42:07 -08:00
whiteheat_fw.h
whiteheat.c [PATCH] USB: Whiteheat: fix firmware spurious errors 2006-06-21 15:04:14 -07:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S