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 <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 4a9f201 commit 46a891e

File tree

1 file changed

+1
-1
lines changed
  • drivers/thermal/qcom

1 file changed

+1
-1
lines changed

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)