Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Alan Cox d2b391822a tty: USB hangup is racy
The USB layer uses tty_hangup to deal with unplugs of the physical hardware
(analogous to loss of carrier) and then frees the resources. However the
tty_hangup is asynchronous. As the hangup can sleep we can use tty_vhangup
which is the non async version to avoid freeing resources too early.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-19 13:13:23 -07:00
..
2008-07-22 13:03:22 -07:00
2008-07-22 13:03:22 -07:00
2009-07-28 14:31:10 -07:00
2008-07-22 13:03:23 -07:00
2008-07-22 13:03:23 -07:00
2009-07-10 19:17:22 -07:00
2008-02-01 14:34:47 -08:00
2009-09-19 13:13:19 -07:00
2009-04-17 10:50:24 -07:00
2009-07-20 16:38:43 -07:00
2009-09-19 13:13:23 -07:00
2007-08-22 14:27:43 -07:00
2008-07-22 13:03:22 -07:00