Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227035
b: refs/heads/master
c: 7c25a82
h: refs/heads/master
i:
  227033: 9a5c009
  227031: 2d695a6
v: v3
  • Loading branch information
Artem Leonenko authored and Greg Kroah-Hartman committed Dec 16, 2010
1 parent 505e9e9 commit fd2745c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d9bb9c1820cb2a7aeb5e42a5470cf208002d9aa8
refs/heads/master: 7c25a82684364da44643cbe3bdbd0f8835293767
6 changes: 3 additions & 3 deletions trunk/drivers/usb/gadget/ci13xxx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@ __acquires(mEp->lock)
list_del_init(&mReq->queue);
mReq->req.status = -ESHUTDOWN;

if (!mReq->req.no_interrupt && mReq->req.complete != NULL) {
if (mReq->req.complete != NULL) {
spin_unlock(mEp->lock);
mReq->req.complete(&mEp->ep, &mReq->req);
spin_lock(mEp->lock);
Expand Down Expand Up @@ -1802,7 +1802,7 @@ __acquires(mEp->lock)
_hardware_enqueue(mEp, mReqEnq);
}

if (!mReq->req.no_interrupt && mReq->req.complete != NULL) {
if (mReq->req.complete != NULL) {
spin_unlock(mEp->lock);
mReq->req.complete(&mEp->ep, &mReq->req);
spin_lock(mEp->lock);
Expand Down Expand Up @@ -2213,7 +2213,7 @@ static int ep_dequeue(struct usb_ep *ep, struct usb_request *req)
list_del_init(&mReq->queue);
req->status = -ECONNRESET;

if (!mReq->req.no_interrupt && mReq->req.complete != NULL) {
if (mReq->req.complete != NULL) {
spin_unlock(mEp->lock);
mReq->req.complete(&mEp->ep, &mReq->req);
spin_lock(mEp->lock);
Expand Down

0 comments on commit fd2745c

Please sign in to comment.