WSL2-Linux-Kernel/drivers/usb/class
Thadeu Lima de Souza Cascardo 922b13565b acm: Fix oops when closing ACM tty device right after open has failed.
This commit 10077d4a66 has stopped
checking if there was a valid acm device associated to the tty, which is
not true right after open fails and tty subsystem tries to close the
device.

As an example, open fails with a non-existing device, when probe has
never been called, because the device has never been plugged. This is
common in systems with static modules and no udev.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-25 11:24:26 -07:00
..
Kconfig USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
cdc-acm.c acm: Fix oops when closing ACM tty device right after open has failed. 2009-06-25 11:24:26 -07:00
cdc-acm.h USB: support for cdc-acm of single interface devices 2009-06-15 21:44:45 -07:00
cdc-wdm.c USB: correct error handling in cdc-wdm 2009-04-23 14:15:30 -07:00
usblp.c Driver Core: usb: add nodename support for usb drivers. 2009-06-15 21:30:25 -07:00
usbtmc.c USB: usbtmc: fix switch statment 2009-06-15 21:44:48 -07:00