Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235313
b: refs/heads/master
c: 8ab1040
h: refs/heads/master
i:
  235311: 22cee55
v: v3
  • Loading branch information
Rahul Ruikar authored and Greg Kroah-Hartman committed Feb 17, 2011
1 parent 195dbec commit 8fe36e2
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: b14e840d04dba211fbdc930247e379085623eacd
refs/heads/master: 8ab10400a037a516cc846c338f879e5bd62497ce
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/at91_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1798,8 +1798,10 @@ static int __init at91udc_probe(struct platform_device *pdev)
}

retval = device_register(&udc->gadget.dev);
if (retval < 0)
if (retval < 0) {
put_device(&udc->gadget.dev);
goto fail0b;
}

/* don't do anything until we have both gadget driver and VBUS */
clk_enable(udc->iclk);
Expand Down

0 comments on commit 8fe36e2

Please sign in to comment.