Skip to content

Commit 46a891e

Browse files
anderssonDaniel Lezcano
authored andcommitted
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: 53bca37 ("thermal/drivers/qcom: Add support for LMh driver") Reported-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20220316180322.88132-1-bjorn.andersson@linaro.org Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
1 parent 4a9f201 commit 46a891e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/thermal/qcom

drivers/thermal/qcom/lmh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data)
4545
if (irq)
4646
generic_handle_irq(irq);
4747

48-
return 0;
48+
return IRQ_HANDLED;
4949
}
5050

5151
static void lmh_enable_interrupt(struct irq_data *d)

0 commit comments

Comments
 (0)