]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: cs35l45: Select REGMAP_IRQ
authorNathan Chancellor <nathan@kernel.org>
Mon, 3 Jul 2023 21:43:15 +0000 (14:43 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 5 Jul 2023 12:00:53 +0000 (13:00 +0100)
commitd9ba2975e98a4bec0a9f8d4be4c1de8883fccb71
tree834068edb4b890d8adb127c77395e3408bb5d07b
parent7dfae2631bfbdebecd35fe7b472ab3cc95c9ed66
ASoC: cs35l45: Select REGMAP_IRQ

After commit 6085f9e6dc19 ("ASoC: cs35l45: IRQ support"), without any
other configuration that selects CONFIG_REGMAP_IRQ, modpost errors out
with:

  ERROR: modpost: "regmap_irq_get_virq" [sound/soc/codecs/snd-soc-cs35l45.ko] undefined!
  ERROR: modpost: "devm_regmap_add_irq_chip" [sound/soc/codecs/snd-soc-cs35l45.ko] undefined!

Add the Kconfig selection to ensure these functions get built and
included, which resolves the build failure.

Cc: stable@vger.kernel.org
Fixes: 6085f9e6dc19 ("ASoC: cs35l45: IRQ support")
Reported-by: Marcus Seyfarth <m.seyfarth@gmail.com>
Closes: https://github.com/ClangBuiltLinux/linux/issues/1882
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20230703-cs35l45-select-regmap_irq-v1-1-37d7e838b614@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig