Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221919
b: refs/heads/master
c: e2c3404
h: refs/heads/master
i:
  221917: 47a8a7a
  221915: cb26a50
  221911: 2490335
  221903: df528ea
  221887: be68127
v: v3
  • Loading branch information
Rahul Ruikar authored and Felipe Balbi committed Nov 5, 2010
1 parent 10d62e4 commit 20ae429
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: 9001d80df9b1db946ef5d0fb52c974d74c567b86
refs/heads/master: e2c3404523c5366c6cc1099d3237d363254adde0
4 changes: 3 additions & 1 deletion trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1705,8 +1705,10 @@ int __init musb_gadget_setup(struct musb *musb)
musb_platform_try_idle(musb, 0);

status = device_register(&musb->g.dev);
if (status != 0)
if (status != 0) {
put_device(&musb->g.dev);
the_gadget = NULL;
}
return status;
}

Expand Down

0 comments on commit 20ae429

Please sign in to comment.