summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2017-02-01 21:30:14 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-03 10:05:10 +0100
commitf2e3818ac89d9168c3051b9aaa23b78050df9b6d (patch)
treeeebc4934aecb0bd7acb58d5f17889631647802d8 /drivers/usb/musb
parente945953dd736b5f385fbb4b7ab368271dff5714a (diff)
downloadlinux-stable-f2e3818ac89d9168c3051b9aaa23b78050df9b6d.tar.gz
linux-stable-f2e3818ac89d9168c3051b9aaa23b78050df9b6d.tar.bz2
linux-stable-f2e3818ac89d9168c3051b9aaa23b78050df9b6d.zip
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>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/musb_dsps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 9f125e179acd..ceb646be20d9 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -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 */