]> err.no Git - linux-2.6/commit
USB: stop io performed by mos7720 upon close()
authorOliver Neukum <oliver@neukum.org>
Wed, 16 Jan 2008 16:18:52 +0000 (17:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:03 +0000 (14:35 -0800)
commita1cd7e99b343543af2be4c8c5755e26f6bfd725a
tree41f8de097dd0889a9c6d02fa0a22b16d5146de46
parent828d55c58cba6b652fd30e00c3d940cb7c523e3c
USB: stop io performed by mos7720 upon close()

This fixes a problem where the mos7720 driver will make io to a device from
which it has been logically disconnected. It does so by introducing a flag by
which the generic usb serial code can signal the subdrivers their
disconnection and appropriate locking.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h