Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242197
b: refs/heads/master
c: adaa3c6
h: refs/heads/master
i:
  242195: e133b7f
v: v3
  • Loading branch information
Peter Holik authored and Greg Kroah-Hartman committed Mar 23, 2011
1 parent eb8d8e4 commit d224f3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 45567c28d29a8766a67c53f898d502aef71b7ef0
refs/heads/master: adaa3c6342b249548ea830fe8e02aa5b45be8688
7 changes: 3 additions & 4 deletions trunk/drivers/usb/misc/uss720.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,11 @@ static struct uss720_async_request *submit_async_request(struct parport_uss720_p
spin_lock_irqsave(&priv->asynclock, flags);
list_add_tail(&rq->asynclist, &priv->asynclist);
spin_unlock_irqrestore(&priv->asynclock, flags);
kref_get(&rq->ref_count);
ret = usb_submit_urb(rq->urb, mem_flags);
if (!ret) {
kref_get(&rq->ref_count);
if (!ret)
return rq;
}
kref_put(&rq->ref_count, destroy_async);
destroy_async(&rq->ref_count);
err("submit_async_request submit_urb failed with %d", ret);
return NULL;
}
Expand Down

0 comments on commit d224f3f

Please sign in to comment.