Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275809
b: refs/heads/master
c: fd537c0
h: refs/heads/master
i:
  275807: 5667a06
v: v3
  • Loading branch information
Marc Kleine-Budde authored and Greg Kroah-Hartman committed Nov 14, 2011
1 parent 5582a87 commit 22fbb59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 954aad8cd18c928e2db5229f6fa71c80d1c3d8b5
refs/heads/master: fd537c041b7f2cbceb5a21c37946e017006edd1c
3 changes: 2 additions & 1 deletion trunk/drivers/usb/gadget/ci13xxx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,6 @@ __acquires(mEp->lock)
* @gadget: gadget
*
* This function returns an error code
* Caller must hold lock
*/
static int _gadget_stop_activity(struct usb_gadget *gadget)
{
Expand Down Expand Up @@ -2707,7 +2706,9 @@ static int ci13xxx_stop(struct usb_gadget_driver *driver)
if (udc->udc_driver->notify_event)
udc->udc_driver->notify_event(udc,
CI13XXX_CONTROLLER_STOPPED_EVENT);
spin_unlock_irqrestore(udc->lock, flags);
_gadget_stop_activity(&udc->gadget);
spin_lock_irqsave(udc->lock, flags);
pm_runtime_put(&udc->gadget.dev);
}

Expand Down

0 comments on commit 22fbb59

Please sign in to comment.