Commit 46a891e4 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Daniel Lezcano

thermal/drivers/qcom/lmh: Fix irq handler return value

After enough invocations the LMh irq is eventually reported as bad, because the
handler doesn't return IRQ_HANDLED, fix this.

Fixes: 53bca371 ("thermal/drivers/qcom: Add support for LMh driver")
Reported-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220316180322.88132-1-bjorn.andersson@linaro.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@kernel.org>
parent 4a9f2011
...@@ -45,7 +45,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data) ...@@ -45,7 +45,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data)
if (irq) if (irq)
generic_handle_irq(irq); generic_handle_irq(irq);
return 0; return IRQ_HANDLED;
} }
static void lmh_enable_interrupt(struct irq_data *d) static void lmh_enable_interrupt(struct irq_data *d)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment