aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-09-04 09:53:24 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 17:55:24 -0400
commit63f991b2871bdb1431e8ff62cae2b7b94b4e5b0c (patch)
tree959b74ac76154a9afe0f8c718454f6fa9ffd3983 /drivers/usb/gadget
parente015268d2fcfcaef70a1ec535e6381f75aafbf81 (diff)
USB: fix location of statement label in dummy-hcd
This patch (as984) fixes a rather elementary mistake in dummy_hcd. The new statement label should come before the spin_unlock_irqrestore, not after it. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/dummy_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index 58e4d7208805..6479a36d6f0e 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1001,8 +1001,8 @@ static int dummy_urb_enqueue (
1001 if (!timer_pending (&dum->timer)) 1001 if (!timer_pending (&dum->timer))
1002 mod_timer (&dum->timer, jiffies + 1); 1002 mod_timer (&dum->timer, jiffies + 1);
1003 1003
1004 spin_unlock_irqrestore (&dum->lock, flags);
1005 done: 1004 done:
1005 spin_unlock_irqrestore(&dum->lock, flags);
1006 return rc; 1006 return rc;
1007} 1007}
1008 1008