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

Commit 92b48df2 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: drop board_set_vbus



that's not used anymore. So let's drop it.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 78417372
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -421,8 +421,6 @@ static int am35x_musb_init(struct musb *musb)
	if (is_host_enabled(musb))
		setup_timer(&otg_workaround, otg_timer, (unsigned long) musb);

	musb->board_set_vbus = am35x_musb_set_vbus;

	/* Global reset */
	sw_reset = omap_ctrl_readl(AM35XX_CONTROL_IP_SW_RESET);

+0 −1
Original line number Diff line number Diff line
@@ -395,7 +395,6 @@ static int bfin_musb_init(struct musb *musb)
	bfin_musb_reg_init(musb);

	if (is_host_enabled(musb)) {
		musb->board_set_vbus = bfin_musb_set_vbus;
		setup_timer(&musb_conn_timer,
			musb_conn_timer_handler, (unsigned long) musb);
	}
+0 −2
Original line number Diff line number Diff line
@@ -437,8 +437,6 @@ static int da8xx_musb_init(struct musb *musb)
	if (is_host_enabled(musb))
		setup_timer(&otg_workaround, otg_timer, (unsigned long)musb);

	musb->board_set_vbus = da8xx_musb_set_vbus;

	/* Reset the controller */
	musb_writel(reg_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK);

+0 −1
Original line number Diff line number Diff line
@@ -404,7 +404,6 @@ static int davinci_musb_init(struct musb *musb)
	if (is_host_enabled(musb))
		setup_timer(&otg_workaround, otg_timer, (unsigned long) musb);

	musb->board_set_vbus = davinci_musb_set_vbus;
	davinci_musb_source_power(musb, 0, 1);

	/* dm355 EVM swaps D+/D- for signal integrity, and
+0 −1
Original line number Diff line number Diff line
@@ -2000,7 +2000,6 @@ bad_config:
	 *   - may initialize an integrated tranceiver
	 *   - initializes musb->xceiv, usually by otg_get_transceiver()
	 *   - stops powering VBUS
	 *   - assigns musb->board_set_vbus if host mode is enabled
	 *
	 * There are various transciever configurations.  Blackfin,
	 * DaVinci, TUSB60x0, and others integrate them.  OMAP3 uses
Loading