Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235328
b: refs/heads/master
c: 75a14b1
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Feb 17, 2011
1 parent cdbfeb6 commit ddfb954
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 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: 04b31c776f34d127b422da92899272a0b8cda21d
refs/heads/master: 75a14b1434a0ca409bcc8ab9b6b2e680796c487e
25 changes: 0 additions & 25 deletions trunk/drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1949,31 +1949,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
goto fail0;
}

switch (plat->mode) {
case MUSB_HOST:
#ifdef CONFIG_USB_MUSB_HDRC_HCD
break;
#else
goto bad_config;
#endif
case MUSB_PERIPHERAL:
#ifdef CONFIG_USB_GADGET_MUSB_HDRC
break;
#else
goto bad_config;
#endif
case MUSB_OTG:
#ifdef CONFIG_USB_MUSB_OTG
break;
#else
bad_config:
#endif
default:
dev_err(dev, "incompatible Kconfig role setting\n");
status = -EINVAL;
goto fail0;
}

/* allocate */
musb = allocate_instance(dev, plat->config, ctrl);
if (!musb) {
Expand Down

0 comments on commit ddfb954

Please sign in to comment.