summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2008-01-22 14:54:54 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 22:35:04 (GMT)
commit9e3b1d8e3d5d135ac7be43f6710b7a67b569c292 (patch)
treed49c28ab6eb379e9cdc7cd9d28110c0967790486 /arch/arm
parent0b3f5fe673d4626ea91816ca9c486b43b39a2fd1 (diff)
downloadlinux-fsl-qoriq-9e3b1d8e3d5d135ac7be43f6710b7a67b569c292.tar.xz
USB: stop abuse of intfdata in cypress_m8
this driver uses usb_get_intfdata() == NULL as a test for disconnect(). You must not do that as this races with probe(). By the time you test your erstwhile interface may already be somebody else's interface. This fixes the close() method of cypress_m8 to use the recently introduced flag and use locking against disconnect() where required in close(). Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions