On Mon Sep 7 09:52:45 2026 +0200, Amin Gattout wrote:
> The devm_request_threaded_irq() function now automatically logs detailed
> error messages on failure. This eliminates the need for driver-specific
> dev_err_probe() calls that print generic messages.
> 
> Signed-off-by: Amin Gattout <[email protected]>
> Reviewed-by: Igor Paunovic <[email protected]>
> Acked-by: Dmitry Osipenko <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>

Patch committed.

Thanks,
Hans Verkuil

 drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

---

diff --git a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c 
b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
index 3aff624c211a..14c29ed2254b 100644
--- a/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
+++ b/drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c
@@ -2621,10 +2621,8 @@ static int hdmirx_setup_irq(struct snps_hdmirx_dev 
*hdmirx_dev,
        ret = devm_request_threaded_irq(dev, irq, NULL, hdmirx_dma_irq_handler,
                                        IRQF_ONESHOT, "rk_hdmirx-dma",
                                        hdmirx_dev);
-       if (ret) {
-               dev_err_probe(dev, ret, "failed to request dma irq\n");
+       if (ret)
                return ret;
-       }
 
        irq = gpiod_to_irq(hdmirx_dev->detect_5v_gpio);
        if (irq < 0) {
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to