Re: [PATCH v1 1/3] ASoC: rt5677: Use agnostic irq_domain_create_linear()
From: Andy Shevchenko
Date: Thu Jun 29 2023 - 10:44:31 EST
On Thu, Jun 29, 2023 at 01:46:01PM +0300, Andy Shevchenko wrote:
> Instead of irq_domain_add_linear() that requires of_node,
> use irq_domain_create_linear() that works outside of OF world.
...
> - rt5677->domain = irq_domain_add_linear(i2c->dev.of_node,
> + rt5677->domain = irq_domain_create_linear(dev_fwnode(i2c->dev),
> RT5677_IRQ_NUM, &rt5677_domain_ops, rt5677);
Oops, this won't compile :-(
Seems I tried in another branch that has this module disabled.
> if (!rt5677->domain) {
> dev_err(&i2c->dev, "Failed to create IRQ domain\n");
--
With Best Regards,
Andy Shevchenko