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

Commit 56700178 authored by George Cherian's avatar George Cherian Committed by Felipe Balbi
Browse files

usb: musb: dsps: Call usb_phy(_shutdown/_init) during musb_platform_reset()



For DSPS platform usb_phy_vbus(_off/_on) are NOPs.
So during musb_platform_reset() call usb_phy(_shutdown/_init)

Signed-off-by: default avatarGeorge Cherian <george.cherian@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 58b949e0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -551,7 +551,11 @@ static void dsps_musb_reset(struct musb *musb)
	const struct dsps_musb_wrapper *wrp = glue->wrp;

	dsps_writel(musb->ctrl_base, wrp->control, (1 << wrp->reset));
	udelay(100);
	usleep_range(100, 200);
	usb_phy_shutdown(musb->xceiv);
	usleep_range(100, 200);
	usb_phy_init(musb->xceiv);

}

static struct musb_platform_ops dsps_ops = {