Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375978
b: refs/heads/master
c: c366195
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Felipe Balbi committed May 15, 2013
1 parent 30c3552 commit 63c8b44
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: ef89a1f3a84d127bdcda7e4dd54f763d2f88203f
refs/heads/master: c3661951032d002d710c2187c5d9dbc8b4cabfa2
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/fusb300_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,10 @@ static int __init fusb300_probe(struct platform_device *pdev)

fusb300->ep0_req = fusb300_alloc_request(&fusb300->ep[0]->ep,
GFP_KERNEL);
if (fusb300->ep0_req == NULL)
if (fusb300->ep0_req == NULL) {
ret = -ENOMEM;
goto clean_up3;
}

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

0 comments on commit 63c8b44

Please sign in to comment.