Re: [PATCH v9 3/6] iio: adc: ad4691: add triggered buffer support

Jonathan Cameron
2026-05-05T13:26:53Z

>
> > > + for (i = 0; i < ARRAY_SIZE(ad4691_gp_names); i++) {
> > > + irq = fwnode_irq_get_byname(dev_fwnode(dev),
> > > + ad4691_gp_names[i]);
> > > + if (irq > 0)
> > > + break;
> >
> > This is problematic in case the above returns EPROBE_DEFER. Can you confirm
> > it
> > may not ever happen? (Note, I don't know the answer.)
> >
>
> You are right, thanks for this!
I'm missing something. Why is that a problem? Driver will return
the error and a dev_err_probe() is used so it won't print anything.
So probe will fail which is exactly what we want.

Jonathan

>