OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a762771
)
staging: dwc2: do not clear pending interrupts twice
author
Julien DELACOU
<julien.delacou@st.com>
Fri, 15 Nov 2013 10:39:38 +0000
(11:39 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 19:57:53 +0000
(11:57 -0800)
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>
drivers/staging/dwc2/core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/dwc2/core.c
b/drivers/staging/dwc2/core.c
index
6d001b5
..
e424940
100644
(file)
--- 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);