USB: kl5kusb105 don't flush to logically disconnected devices
commit3edbc986509888fa9977cc180c1fe458d2f89076
authorOliver Neukum <oliver@neukum.org>
Tue, 22 Jan 2008 11:47:15 +0000 (22 12:47 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:05 +0000 (1 14:35 -0800)
treed80fa46312676df21cf89af632f15e1ac94c9f82
parentb0a239da17beb34354181bebb744c0b0d534967f
USB: kl5kusb105 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/kl5kusb105.c