lkml.org 
[lkml]   [2023]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2023-06-29 16:46    [W:0.034 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site