Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b34085fd authored by Julien DELACOU's avatar Julien DELACOU Committed by Greg Kroah-Hartman
Browse files

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: default avatarJulien Delacou <julien.delacou@st.com>
Acked-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a7627714
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);