Skip to content

Commit 0c0ed40

Browse files
nathanchancemarcan
authored andcommitted
ASoC: cs35l45: Select REGMAP_IRQ
commit d9ba297 upstream. After commit 6085f9e ("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: [email protected] Fixes: 6085f9e ("ASoC: cs35l45: IRQ support") Reported-by: Marcus Seyfarth <[email protected]> Closes: ClangBuiltLinux#1882 Signed-off-by: Nathan Chancellor <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 945d969 commit 0c0ed40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/codecs/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ config SND_SOC_CS35L41_I2C
701701

702702
config SND_SOC_CS35L45
703703
tristate
704+
select REGMAP_IRQ
704705

705706
config SND_SOC_CS35L45_SPI
706707
tristate "Cirrus Logic CS35L45 CODEC (SPI)"

0 commit comments

Comments
 (0)