projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2e3818
)
usb: musb: da8xx: remove redundant code
author
Bin Liu
<b-liu@ti.com>
Thu, 2 Feb 2017 03:30:15 +0000
(21:30 -0600)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:05:10 +0000
(10:05 +0100)
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>
drivers/usb/musb/da8xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/da8xx.c
b/drivers/usb/musb/da8xx.c
index cd3d763720b375d1ffce2dbbf7e9bd6ae4698b84..d5766ebeb761e072555515bb883a24628b2fbb11 100644
(file)
--- a/
drivers/usb/musb/da8xx.c
+++ b/
drivers/usb/musb/da8xx.c
@@
-125,7
+125,6
@@
static void da8xx_musb_disable(struct musb *musb)
musb_writel(reg_base, DA8XX_USB_INTR_MASK_CLEAR_REG,
DA8XX_INTR_USB_MASK |
DA8XX_INTR_TX_MASK | DA8XX_INTR_RX_MASK);
- musb_writeb(musb->mregs, MUSB_DEVCTL, 0);
musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0);
}