On Fri May 29 14:27:10 2026 +0300, Dmitry Baryshkov wrote:
> Requesting the IRQ and then immediately disabling it is fragile as it
> leaves a window when the IRQ is still enabled although the underlying
> device might be not completely setup for IRQ handling. Pass
> IRQF_NO_AUTOEN instead of calling disable_irq_nosync().
> 
> Fixes: fb583a214337 ("media: iris: introduce host firmware interface with 
> necessary hooks")
> Reviewed-by: Konrad Dybcio <[email protected]>
> Reviewed-by: Dikshita Agarwal <[email protected]>
> Signed-off-by: Dmitry Baryshkov <[email protected]>
> [bod: Appended Fix to patch title for -stable clarity]
> [bod: Added cc stable for backporting]
> Cc: [email protected]
> Signed-off-by: Bryan O'Donoghue <[email protected]>

Patch committed.

Thanks,
Bryan O'Donoghue

 drivers/media/platform/qcom/iris/iris_probe.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

---

diff --git a/drivers/media/platform/qcom/iris/iris_probe.c 
b/drivers/media/platform/qcom/iris/iris_probe.c
index d36f0c0e785b..a755a6f73ea6 100644
--- a/drivers/media/platform/qcom/iris/iris_probe.c
+++ b/drivers/media/platform/qcom/iris/iris_probe.c
@@ -259,12 +259,12 @@ static int iris_probe(struct platform_device *pdev)
                return PTR_ERR(core->ubwc_cfg);
 
        ret = devm_request_threaded_irq(core->dev, core->irq, iris_hfi_isr,
-                                       iris_hfi_isr_handler, 
IRQF_TRIGGER_HIGH, "iris", core);
+                                       iris_hfi_isr_handler,
+                                       IRQF_TRIGGER_HIGH | IRQF_NO_AUTOEN,
+                                       "iris", core);
        if (ret)
                return ret;
 
-       disable_irq_nosync(core->irq);
-
        iris_init_ops(core);
        core->iris_firmware_data->init_hfi_ops(core);
 
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to