]> err.no Git - linux-2.6/commit
USB: make sure usb serial drivers don't flush to logically disconnected devices
authorOliver Neukum <oliver@neukum.org>
Mon, 21 Jan 2008 16:44:10 +0000 (17:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:04 +0000 (14:35 -0800)
commite33fe4d86f91127f6f7d931ff59ed6cbda06e72b
tree7af352e8fc696220a06c6e2a9b9006a0ea5ee075
parent004b4f2d4448cff7f13871c05d744b00a7c74d4a
USB: make sure usb serial drivers don't flush to logically disconnected devices

If disconnect() is called for a logical disconnect, no more IO must be
done after disconnect() returns, or the old and new drivers may conflict.
This patch avoids this by using the flag and lock introduced by the earlier
patch for the mos7720 driver.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mct_u232.c
drivers/usb/serial/option.c
drivers/usb/serial/sierra.c
drivers/usb/serial/visor.c
drivers/usb/serial/whiteheat.c