From: Julien DELACOU Date: Fri, 15 Nov 2013 10:39:38 +0000 (+0100) Subject: staging: dwc2: do not clear pending interrupts twice X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b34085fdc2bb44b3d3cb16521ebd495f86fe717b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Paul Zimmerman Signed-off-by: Greg Kroah-Hartman --- 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);