Re: [EXTERNAL] [PATCH 2/3] net: ti: icss-iep: Enable compare events

From: Andrew Lunn
Date: Sun Jun 02 2024 - 11:20:04 EST


> >+ iep->cap_cmp_irq = platform_get_irq_byname_optional(pdev,
> >"iep_cap_cmp");
> >+ if (iep->cap_cmp_irq < 0) {
> >+ if (iep->cap_cmp_irq == -EPROBE_DEFER)
> >+ return iep->cap_cmp_irq;
>
> This info is coming from DT, is PROBE_DIFFER error return value possible ?

static int __platform_get_irq_byname(struct platform_device *dev,
const char *name)
{
struct resource *r;
int ret;

ret = fwnode_irq_get_byname(dev_fwnode(&dev->dev), name);
if (ret > 0 || ret == -EPROBE_DEFER)
return ret;

This suggests it can happen.

Andrew