]> git.baikalelectronics.ru Git - kernel.git/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)
commit5b0f057926f0448d0b14f2554544b8af2000a4f3
tree7af352e8fc696220a06c6e2a9b9006a0ea5ee075
parent0b8c9a8802a7033d7ea8a874f98636400c75fb00
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