Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185388
b: refs/heads/master
c: 08e6c97
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent e897810 commit a56dea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: db8516f61b481e82cec398474ed716d926de7f94
refs/heads/master: 08e6c972da616d057b63fd3f89ce0eb539952f06
3 changes: 1 addition & 2 deletions trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1710,8 +1710,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver)
return -EINVAL;

/* driver must be initialized to support peripheral mode */
if (!musb || !(musb->board_mode == MUSB_OTG
|| musb->board_mode != MUSB_OTG)) {
if (!musb) {
DBG(1, "%s, no dev??\n", __func__);
return -ENODEV;
}
Expand Down

0 comments on commit a56dea8

Please sign in to comment.