USB: last abuses of intfdata in close for usb-serial drivers
authorOliver Neukum <oliver@neukum.org>
Wed, 23 Jan 2008 11:28:45 +0000 (12:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:35:05 +0000 (14:35 -0800)
commit0915f490d81c1a5098b399ec6c0be45bd421ee1d
tree840285ec52dba9ae65757b27c68ee3933c041ff3
parent3edbc986509888fa9977cc180c1fe458d2f89076
USB: last abuses of intfdata in close for usb-serial drivers

these drivers abused intfdata in close() as flags for binding.
That races with reprobing of those devices. This patch fixes that by using
the flag and the locks introduced with the patch against mos7720.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/oti6858.c
drivers/usb/serial/pl2303.c
drivers/usb/serial/ti_usb_3410_5052.c