commit | a94da8971e836f32315f8832b0bf3e88bee9efae | [log] [tgz] |
---|---|---|
author | Milan Svoboda <msvoboda@ra.rockwell.com> | Tue Aug 08 22:14:43 2006 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Sep 27 11:58:54 2006 -0700 |
tree | 6c9fe746a803f26b5c853c7cbb646a867b3f13a4 | |
parent | e22fc27c87b41bda1b0daf8436224b0f79853482 [diff] |
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>