summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/qcom/lmh.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2022-03-16 11:03:22 -0700
committerDaniel Lezcano <daniel.lezcano@kernel.org>2022-12-14 15:25:41 +0100
commit46a891e45be97c6781ac34f5ec777d69370e252b (patch)
tree059cddfc826cad5b84df52a4a78f8887aa6e074b /drivers/thermal/qcom/lmh.c
parent4a9f20112c22cdcd6b81fafb18534a2a5a629a14 (diff)
downloadlinux-stable-46a891e45be97c6781ac34f5ec777d69370e252b.tar.gz
linux-stable-46a891e45be97c6781ac34f5ec777d69370e252b.tar.bz2
linux-stable-46a891e45be97c6781ac34f5ec777d69370e252b.zip
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: 53bca371cdf7 ("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>
Diffstat (limited to 'drivers/thermal/qcom/lmh.c')
-rw-r--r--drivers/thermal/qcom/lmh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c
index d3d9b9fa49e8..4122a51e9874 100644
--- a/drivers/thermal/qcom/lmh.c
+++ b/drivers/thermal/qcom/lmh.c
@@ -45,7 +45,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)