android_kernel_xiaomi_sm8350/drivers/usb/class
Alan Stern 74da5d68a5 USB: cdc-acm: fix sysfs attribute registration bug
This patch (as950) fixes a bug in the cdc-acm driver.  It doesn't keep
track of which interface (control or data) the sysfs attributes get
registered for, and as a result, during disconnect it will sometimes
attempt to remove the attributes from the wrong interface.  The
left-over attributes can cause a crash later on, particularly if the driver
module has been unloaded.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-08-22 14:27:43 -07:00
..
cdc-acm.c USB: cdc-acm: fix sysfs attribute registration bug 2007-08-22 14:27:43 -07:00
cdc-acm.h USB: cdc-acm: export parsed capabilities through sysfs 2007-04-27 13:28:33 -07:00
Kconfig [PATCH] USB: remove OBSOLETE_OSS_USB_DRIVER drivers 2006-03-20 14:49:54 -08:00
Makefile [PATCH] USB: remove OBSOLETE_OSS_USB_DRIVER drivers 2006-03-20 14:49:54 -08:00
usblp.c USB: class: usblp: clean up urb->status usage 2007-07-19 17:46:06 -07:00