thermal/drivers/qcom/lmh: Fix irq handler return value
Subsystems (3)
PATCH 1/1 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 <[email protected]>
Signed-off-by Bjorn Andersson <[email protected]>
--- drivers/thermal/qcom/lmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/qcom/lmh.c +1 -1
@@ -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)
Signature · 1 line
2.33.1
Quoted 7 lines · Bjorn Andersson
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 <[email protected]>Signed-off-by Bjorn Andersson <[email protected]>
Reviewed-by Dmitry Baryshkov <[email protected]>
Quoted 20 lines
--- drivers/thermal/qcom/lmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/thermal/qcom/lmh.c +1
-2@@ -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) --2.33.1
Signature · 2 lines
With best wishes Dmitry
The following commit has been merged into the thermal/next branch of thermal:
The following commit has been merged into the thermal/next branch of thermal:
Commit-ID: 1c5ec8178db2c71a9c20bd5da03eb1a7165121d3 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//1c5ec8178db2c71a9c20bd5da03eb1a7165121d3 Author: Bjorn Andersson <[email protected]> AuthorDate: Wed, 16 Mar 2022 11:03:22 -07:00 Committer: Daniel Lezcano <[email protected]> CommitterDate: Thu, 08 Dec 2022 17:45:04 +01:00
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 <[email protected]>
Signed-off-by Bjorn Andersson <[email protected]>
Reviewed-by Dmitry Baryshkov <[email protected]>
Signed-off-by Daniel Lezcano <[email protected]>
--- drivers/thermal/qcom/lmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/qcom/lmh.c +1 -1
@@ -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)