diff options
author | Milan Svoboda | 2006-08-09 07:14:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2006-09-27 20:58:54 +0200 |
commit | a94da8971e836f32315f8832b0bf3e88bee9efae (patch) | |
tree | 6c9fe746a803f26b5c853c7cbb646a867b3f13a4 /drivers/usb/host/ehci-pci.c | |
parent | USB: add poll to gadgetfs's endpoint zero (diff) | |
download | kernel-qcow2-linux-a94da8971e836f32315f8832b0bf3e88bee9efae.tar.gz kernel-qcow2-linux-a94da8971e836f32315f8832b0bf3e88bee9efae.tar.xz kernel-qcow2-linux-a94da8971e836f32315f8832b0bf3e88bee9efae.zip |
USB gadget: gadgetfs dont try to lock before free
I spotted this during my tests with -rt on arm. The -rt patch contains
some better tools
to diagnose problems with locks and some other things...
Original code tries to take semaphore in BUG_ON and then free the memory
with this semaphore.
Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
0 files changed, 0 insertions, 0 deletions