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