linux-bl808/drivers/usb
Johan Hovold fdb838efa3 USB: serial: suppress driver bind attributes
USB-serial drivers must not be unbound from their ports before the
corresponding USB driver is unbound from the parent interface so
suppress the bind and unbind attributes.

Unbinding a serial driver while it's port is open is a sure way to
trigger a crash as any driver state is released on unbind while port
hangup is handled on the parent USB interface level. Drivers for
multiport devices where ports share a resource such as an interrupt
endpoint also generally cannot handle individual ports going away.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2020-01-17 11:11:26 +01:00
..
atm
c67x00
cdns3
chipidea
class
common
core usb: missing parentheses in USE_NEW_SCHEME 2020-01-08 17:44:11 +01:00
dwc2
dwc3
early
gadget
host usb: ohci-da8xx: ensure error return on variable error is set 2020-01-08 17:34:18 +01:00
image
isp1760
misc
mon
mtu3
musb usb: musb: Disable pullup at init 2020-01-08 17:34:17 +01:00
phy
renesas_usbhs
roles
serial USB: serial: suppress driver bind attributes 2020-01-17 11:11:26 +01:00
storage
typec usb: typec: ucsi: Fix the notification bit offsets 2020-01-08 17:34:16 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c