android_kernel_xiaomi_sm8350/include/linux/usb
Alan Stern a4720c650b USB: serial: don't call release without attach
This patch (as1295) fixes a recently-added bug in the USB serial core.
If certain kinds of errors occur during probing, the core may call a
serial driver's release method without previously calling the attach
method.  This causes some drivers (io_ti in particular) to perform an
invalid memory access.

The patch adds a new flag to keep track of whether or not attach has
been called.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Jean-Denis Girard <jd.girard@sysnux.pf>
CC: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-09 13:52:05 -07:00
..
association.h
atmel_usba_udc.h
audio.h
c67x00.h
cdc.h
ch9.h
composite.h
ehci_def.h
g_printer.h
gadget.h
gadgetfs.h
gpio_vbus.h
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild
langwell_udc.h
m66592.h
midi.h
musb.h
net2280.h
otg.h
quirks.h
r8a66597.h
rndis_host.h
serial.h
sl811.h
tmc.h
usbnet.h
video.h
vstusb.h
wusb-wa.h
wusb.h