Re: [PATCH v2] watchdog: qcom: Propagate errors from optional IRQ lookup
From: Bui Duc Phuc
Date: Mon Aug 10 2026 - 06:33:26 EST
> /* check if there is pretimeout support */
> irq = platform_get_irq_optional(pdev, 0);
> - if (data->pretimeout && irq > 0) {
> - ret = devm_request_irq(dev, irq, qcom_wdt_isr, 0,
> - "wdt_bark", &wdt->wdd);
> - if (ret)
> - return ret;
> + if (data->pretimeout) {
> + irq = platform_get_irq_optional(pdev, 0);
Sorry, I missed removing the old irq = platform_get_irq_optional(pdev,
0); line. I will send v3 shortly.