Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375976
b: refs/heads/master
c: f3423d3
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Felipe Balbi committed May 15, 2013
1 parent 6b09eb4 commit 43746d8
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 48ad20f32d1153ad6a0a95ad2bfc391daa13fcad
refs/heads/master: f3423d3258cd9939c06df75a582b16d52fc2249f
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/r8a66597-udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1977,8 +1977,10 @@ static int __init r8a66597_probe(struct platform_device *pdev)

r8a66597->ep0_req = r8a66597_alloc_request(&r8a66597->ep[0].ep,
GFP_KERNEL);
if (r8a66597->ep0_req == NULL)
if (r8a66597->ep0_req == NULL) {
ret = -ENOMEM;
goto clean_up3;
}
r8a66597->ep0_req->complete = nop_completion;

ret = usb_add_gadget_udc(&pdev->dev, &r8a66597->gadget);
Expand Down

0 comments on commit 43746d8

Please sign in to comment.