Before, dwc2_hcd_intr() would always return IRQ_HANDLED when the controller was in host mode, even if no interrupt triggered that was actually handled by by this commit message (for example for interrupts handled by the common handler). The check added works just like the check that is already in dwc2_handle_common_intr(). Signed-off-by: Matthijs Kooijman <matthijs@xxxxxxxx> --- drivers/staging/dwc2/hcd_intr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/dwc2/hcd_intr.c b/drivers/staging/dwc2/hcd_intr.c index 0e6929c..58b7142a 100644 --- a/drivers/staging/dwc2/hcd_intr.c +++ b/drivers/staging/dwc2/hcd_intr.c @@ -2083,7 +2083,8 @@ irqreturn_t dwc2_hcd_intr(struct dwc2_hsotg *hsotg) return 0; } - retval = IRQ_HANDLED; + if (gintsts & GINTMSK_HOST) + retval = IRQ_HANDLED; dbg_gintsts = gintsts; #ifndef DEBUG_SOF -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html