[PATCH v3] of/irq: Support #msi-cells=<0> in of_msi_get_domain
Andrew Jones
ajones at ventanamicro.com
Mon Aug 19 00:35:43 PDT 2024
On Sun, Aug 18, 2024 at 10:18:16AM GMT, Rob Herring wrote:
> On Sat, Aug 17, 2024 at 09:41:08AM +0200, Andrew Jones wrote:
...
> > + of_for_each_phandle(&it, err, np, "msi-parent", "#msi-cells", 0) {
> > + d = irq_find_matching_host(it.node, token);
> > + if (d)
> > + return d;
> > + of_node_put(it.node);
>
> Pretty sure the iterator does this for you. I can fixup when applying.
Doh, I managed to mess up my usage of OF APIs twice. Thanks for applying
the fixup.
>
> I plan to tag for stable too.
Good idea.
Thanks,
drew
More information about the linux-riscv
mailing list