linux/drivers/usb/serial
Bjørn Mork 032129cb03 usb: usb_wwan: resume/suspend can be called after port is gone
We cannot unconditionally access any usb-serial port specific
data from the interface driver.  Both supending and resuming
may happen after the port has been removed and portdata is
freed.

Treat ports with no portdata as closed ports to avoid a NULL
pointer dereference on resume.  No need to kill URBs for
removed ports on suspend, avoiding the same NULL pointer
reference there.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-10 11:51:43 -07:00
..
aircable.c USB: aircable.c: remove dbg() usage 2012-05-15 16:27:08 -07:00
ark3116.c USB: ark3116.c: remove dbg() usage 2012-05-15 16:27:11 -07:00
belkin_sa.c USB: belkin_sa.c: remove dbg() usage 2012-05-15 16:27:11 -07:00
belkin_sa.h USB: belkin_sa.h: checkpatch cleanups 2010-05-20 13:21:46 -07:00
bus.c usb: serial: prevent suspend/resume from racing against probe/remove 2012-08-10 11:51:43 -07:00
ch341.c USB: serial: ch341: make the reset_resume callback actually work. 2012-05-16 08:36:13 -07:00
console.c USB: console.c: remove err() usage 2012-04-20 16:53:58 -07:00
cp210x.c USB: CP210x Add 10 Device IDs 2012-06-26 16:14:34 -07:00
cyberjack.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
cypress_m8.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
cypress_m8.h USB: cypress_m8.h: checkpatch cleanups 2010-05-20 13:21:46 -07:00
digi_acceleport.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
empeg.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
ezusb_convert.pl
ezusb.c USB: ezusb.c: remove dbg() tracing calls 2012-05-03 16:44:02 -07:00
f81232.c USB: f81232.c: remove dbg() usage 2012-05-15 16:27:17 -07:00
ftdi_sio_ids.h USB: ftdi_sio: Add VID/PID for Kondo Serial USB 2012-08-10 11:41:25 -07:00
ftdi_sio.c USB: ftdi_sio: Add VID/PID for Kondo Serial USB 2012-08-10 11:41:25 -07:00
ftdi_sio.h USB: ftdi_sio: add support for FT-X series devices 2012-03-14 15:43:05 -07:00
funsoft.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
garmin_gps.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
generic.c USB: serial-generic: use a single set of device IDs 2012-06-13 14:01:56 -07:00
hp4x.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
io_16654.h
io_edgeport.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
io_edgeport.h Fix common misspellings 2011-03-31 11:26:23 -03:00
io_ionsp.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
io_tables.h USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
io_ti.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
io_ti.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
io_usbvend.h USB: io_edgeport: checkpatch cleanups 2010-05-20 13:21:47 -07:00
ipaq.c USB: ipaq.c: remove dbg() usage 2012-05-15 16:27:20 -07:00
ipw.c usb: usb_wwan: replace release and disconnect with a port_remove hook 2012-08-10 11:51:43 -07:00
ir-usb.c USB: ir-usb.c: remove dbg() usage 2012-05-15 16:27:23 -07:00
iuu_phoenix.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
iuu_phoenix.h
Kconfig USB: serial: add quatech2 usb to serial driver 2012-05-10 12:46:20 -07:00
keyspan_pda.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c USB: serial: keyspan: Removed unrequired parentheses. 2012-07-16 17:09:15 -07:00
keyspan.h USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
kl5kusb105.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
kl5kusb105.h USB: kl5kusb105.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
kobil_sct.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
kobil_sct.h USB: kobil_sct.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
Makefile USB: serial: add quatech2 usb to serial driver 2012-05-10 12:46:20 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: mct_u232: Fix incorrect TIOCMSET return 2012-06-12 16:09:49 -07:00
mct_u232.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
metro-usb.c USB: metro-usb: fix tty_flip_buffer_push use 2012-07-05 16:04:57 -07:00
mos7720.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
mos7840.c usb: serial: mos7840: Fixup mos7840_chars_in_buffer() 2012-08-10 11:51:42 -07:00
moto_modem.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
navman.c USB: navman.c: remove dbg() usage 2012-05-15 16:27:25 -07:00
omninet.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
opticon.c USB: serial: opticon: hook up suspend/resume callbacks 2012-05-10 14:35:21 -07:00
option.c usb: usb_wwan: replace release and disconnect with a port_remove hook 2012-08-10 11:51:43 -07:00
oti6858.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
oti6858.h
pl2303.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
pl2303.h USB: serial: pl2303: rm duplicate id 2011-11-15 10:06:15 -08:00
qcaux.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
qcserial.c usb: usb_wwan: replace release and disconnect with a port_remove hook 2012-08-10 11:51:43 -07:00
quatech2.c USB: serial: Remove unused serial_priv variable 2012-06-20 16:20:24 -07:00
safe_serial.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
siemens_mpi.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
sierra.c USB: sierra: QMI mode MC7710 moved to qcserial 2012-07-16 17:17:59 -07:00
spcp8x5.c USB: spcp8x5.c: remove dbg() usage 2012-05-15 16:27:30 -07:00
ssu100.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
symbolserial.c USB: symbolserial.c: remove dbg() usage 2012-05-15 16:27:32 -07:00
ti_usb_3410_5052.c USB: serial: ti_usb_3410_5052: Add support for the FRI2 serial console 2012-05-11 15:14:07 -07:00
ti_usb_3410_5052.h USB: serial: ti_usb_3410_5052: Add support for the FRI2 serial console 2012-05-11 15:14:07 -07:00
usb_debug.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
usb_wwan.c usb: usb_wwan: resume/suspend can be called after port is gone 2012-08-10 11:51:43 -07:00
usb-serial.c usb: use usb_serial_put in usb_serial_probe errors 2012-06-13 17:26:11 -07:00
usb-wwan.h usb: usb_wwan: replace release and disconnect with a port_remove hook 2012-08-10 11:51:43 -07:00
visor.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
visor.h USB: visor.h: checkpatch cleanups 2010-05-20 13:21:47 -07:00
vivopay-serial.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
whiteheat.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
whiteheat.h
zio.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00