summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJulien DELACOU <julien.delacou@st.com>2013-11-15 14:39:38 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-25 23:57:53 +0400
commitb34085fdc2bb44b3d3cb16521ebd495f86fe717b (patch)
treefc833e83f73b667be5c9fa4a4b6b46a350ad5e90 /drivers
parenta7627714452df0cb7171652573c73e3613b24e6a (diff)
downloadlinux-b34085fdc2bb44b3d3cb16521ebd495f86fe717b.tar.xz
staging: dwc2: do not clear pending interrupts twice
Pending interrupts clearing is done in dwc2_enable_common_interrupts so we don't need to do it twice. Signed-off-by: Julien Delacou <julien.delacou@st.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/dwc2/core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c
index 6d001b52f652..e4249404958a 100644
--- a/drivers/staging/dwc2/core.c
+++ b/drivers/staging/dwc2/core.c
@@ -451,9 +451,6 @@ void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg)
writel(0, hsotg->regs + GINTMSK);
writel(0, hsotg->regs + HAINTMSK);
- /* Clear any pending interrupts */
- writel(0xffffffff, hsotg->regs + GINTSTS);
-
/* Enable the common interrupts */
dwc2_enable_common_interrupts(hsotg);