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

Commit f2e3818a authored by Bin Liu's avatar Bin Liu Committed by Greg Kroah-Hartman
Browse files

usb: musb: dsps: remove redundant code



The session is cleared in the core whenever musb_platform_disable() is
called, so clearing it in the glue driver *_musb_disable() is redundant.

Signed-off-by: default avatarBin Liu <b-liu@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e945953d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -186,7 +186,6 @@ static void dsps_musb_disable(struct musb *musb)
	musb_writel(reg_base, wrp->epintr_clear,
			 wrp->txep_bitmap | wrp->rxep_bitmap);
	del_timer_sync(&glue->timer);
	musb_writeb(musb->mregs, MUSB_DEVCTL, 0);
}

/* Caller must take musb->lock */