[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZJ2YsMJhFLLjd1Lr@smile.fi.intel.com>
Date: Thu, 29 Jun 2023 17:44:00 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Cc: Oder Chiou <oder_chiou@...ltek.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Subject: Re: [PATCH v1 1/3] ASoC: rt5677: Use agnostic
irq_domain_create_linear()
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
Powered by blists - more mailing lists