projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5512ffd
)
ASoC: rt5677: Use agnostic irq_domain_create_linear()
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 30 Jun 2023 17:21:53 +0000
(20:21 +0300)
committer
Mark Brown
<broonie@kernel.org>
Sun, 9 Jul 2023 21:47:07 +0000
(22:47 +0100)
Instead of irq_domain_add_linear() that requires of_node,
use irq_domain_create_linear() that works outside of OF world.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link:
https://lore.kernel.org/r/20230630172155.83754-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5677.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5677.c
b/sound/soc/codecs/rt5677.c
index
3a2a6b1
..
17d5dd5
100644
(file)
--- a/
sound/soc/codecs/rt5677.c
+++ b/
sound/soc/codecs/rt5677.c
@@
-5511,7
+5511,7
@@
static int rt5677_init_irq(struct i2c_client *i2c)
RT5677_GPIO1_PIN_MASK, RT5677_GPIO1_PIN_IRQ);
/* Ready to listen for interrupts */
- 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);
if (!rt5677->domain) {
dev_err(&i2c->dev, "Failed to create IRQ domain\n");