On Wed, Feb 16, 2011 at 10:02:27AM +0200, Felipe Balbi wrote: > Hi, > > On Wed, Feb 16, 2011 at 08:44:26AM +0200, Tomi Valkeinen wrote: > > > ah, ok. So it's another problem. I don't have beagle, but I have an old > > > overo here. Will try tomorrow to see what's going on. Thanks for the > > > report. > > > > Did you get a chance to try this? Or any suggestions what I could try? I > > could of course try to bisect it, but that's quite laborious as I have > > to store the kernel into an mmc to be able to use it. > > I'm trying to get my overo to work. MMC doesn't seem to be working on > u-boot again: > > Overo # mmc rescan 0 > Overo # fatload mmc 0 82000000 uImage > reading uImage > mmc_send_cmd: timedout waiting for cmddis! > mmc fail to send stop cmd > mmc_send_cmd: timedout waiting for cmddis! > Invalid FAT entry > > 952320 bytes read > Overo # > > u-boot's HEAD is efb063390d2d1e712c2c8110911616244d562c4b case I can't get it working, would you care to try the below patch ? diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 54a8bd1..bc29655 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -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) { -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html