mirror of https://gitee.com/openkylin/linux.git
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: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e945953dd7
commit
f2e3818ac8
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue