On Wed, Nov 26, 2025 at 03:46:24PM +0100, Francesco Lavra wrote:
> fwnode_irq_get_byname() returns a negative value on failure.
...
> st->irq = fwnode_irq_get_byname(dev_fwnode(st->dev), "INT1");
> - if (st->irq > 0)
> + if (st->irq < 0)
> return dev_err_probe(st->dev, -ENODEV,
Please, also fix this.
> "no interrupt name specified");
Otherwise a good catch!
--
With Best Regards,
Andy Shevchenko