git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17efe15
)
USB: correct locking in gadgetfs_disconnect
author
Milan Svoboda
<msvoboda@ra.rockwell.com>
Mon, 26 Jun 2006 14:46:00 +0000
(07:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 27 Sep 2006 18:58:52 +0000
(11:58 -0700)
This patch moves spin_lock (&dev->lock) before first use of dev.
I think that test to the state of device should be protected with
this spin_lock...
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>
No differences found