|
@@ -122,11 +122,7 @@ static struct musb_hdrc_config musb_config = {
|
|
};
|
|
};
|
|
|
|
|
|
static struct musb_hdrc_platform_data tusb_data = {
|
|
static struct musb_hdrc_platform_data tusb_data = {
|
|
-#ifdef CONFIG_USB_GADGET_MUSB_HDRC
|
|
|
|
.mode = MUSB_OTG,
|
|
.mode = MUSB_OTG,
|
|
-#else
|
|
|
|
- .mode = MUSB_HOST,
|
|
|
|
-#endif
|
|
|
|
.set_power = tusb_set_power,
|
|
.set_power = tusb_set_power,
|
|
.min_power = 25, /* x2 = 50 mA drawn from VBUS as peripheral */
|
|
.min_power = 25, /* x2 = 50 mA drawn from VBUS as peripheral */
|
|
.power = 100, /* Max 100 mA VBUS for host mode */
|
|
.power = 100, /* Max 100 mA VBUS for host mode */
|