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>
This commit is contained in:
parent
a762771445
commit
b34085fdc2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user