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

Andrew Lunn andrew at lunn.ch
Sun Jun 2 08:19:36 PDT 2024


> >+	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



More information about the linux-arm-kernel mailing list