Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5fea953 authored by Philippe Langlais's avatar Philippe Langlais Committed by Linus Walleij
Browse files

mach-ux500: musb: now musb is always in OTG mode



This change is needed after 62285963 "usb: musb: drop a
gigantic amount of ifdeferry", where CONFIG_USB_MUSB_PERIPHERAL
& CONFIG_USB_MUSB_HOST has been removed.

Signed-off-by: default avatarPhilippe Langlais <philippe.langlais@linaro.org>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dcd6c922
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -95,13 +95,7 @@ static struct musb_hdrc_config musb_hdrc_config = {
};

static struct musb_hdrc_platform_data musb_platform_data = {
#if defined(CONFIG_USB_MUSB_OTG)
	.mode = MUSB_OTG,
#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
	.mode = MUSB_PERIPHERAL,
#else /* defined(CONFIG_USB_MUSB_HOST) */
	.mode = MUSB_HOST,
#endif
	.config = &musb_hdrc_config,
	.board_data = &musb_board_data,
};