Skip to content

Commit

Permalink
thermal/drivers/qcom/lmh: Fix irq handler return value
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Steev Klimaszewski <[email protected]>
  • Loading branch information
andersson authored and 0x011011110 committed Apr 20, 2022
1 parent 4bcc0b2 commit 2cd6ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/qcom/lmh.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static irqreturn_t lmh_handle_irq(int hw_irq, void *data)
if (irq)
generic_handle_irq(irq);

return 0;
return IRQ_HANDLED;
}

static void lmh_enable_interrupt(struct irq_data *d)
Expand Down

0 comments on commit 2cd6ca2

Please sign in to comment.