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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux