ASoC: cs47l15: Ensure regmap_irq is built
Mark Brown
maintainerPATCH 1/1 ASoC: cs47l15: Ensure regmap_irq is built
The cs47l15 driver uses regmap_irq but does not ensure that it is built, causing build failures if nothing else being build requires the helpers. Add the appropriate select.
--- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+)
sound/soc/codecs/Kconfig +1 -0
@@ -733,6 +733,7 @@ config SND_SOC_CS4349 config SND_SOC_CS47L15 tristate + select REGMAP_IRQ config SND_SOC_CS47L24 tristate
Signature · 1 line
2.30.2
Quoted 14 lines · Mark Brown
The cs47l15 driver uses
regmap_irqbut does not ensure that it is built, causing build failures if nothing else being build requires the helpers. Add the appropriate select.Signed-off-by Mark Brown <[email protected]>--- sound/soc/codecs/Kconfig | 1 + 1 file changed, 1 insertion(+)sound/soc/codecs/Kconfig +0
-0
sound/soc/codecs/Kconfig config SND_SOC_CS4349 · line 737
Quoted 5 lines
sound/soc/codecs/Kconfig +1
-0@@ -733,6 +733,7 @@ config SND_SOC_CS4349 config SND_SOC_CS47L15 tristate + select REGMAP_IRQ
Would it be better to have depends on MFD_CS47L15 instead, that way the other dependencies would be covered as well? I think these were added before implies was a thing, and thus dependencies didn't matter, since they could only be selected which ignored deps anyway.
I would expect L35, L85, L90, L92 to be affected as well. Happy to do a patch to fix this up, if you prefer?
Thanks,
Charles
Mark Brown
maintainerQuoted 9 lines · Charles Keepax
sound/soc/codecs/Kconfig config SND_SOC_CS4349 · line 736
Quoted 3 lines
config
SND_SOC_CS47L15sound/soc/codecs/Kconfig +1
-0tristate + select REGMAP_IRQWould it be better to have depends on
MFD_CS47L15instead, that way the other dependencies would be covered as well? I think these were added before implies was a thing, and thus dependencies didn't matter, since they could only be selected which ignored deps anyway.
It doesn't actually have a dependency at the ASoC level so it doesn't super matter. Given that it's this driver that's using the IRQ controller it needs the select it would probably be better to have that set up in the MFD anyway.
Quoted 2 lines
I would expect L35, L85, L90, L92 to be affected as well. Happy to do a patch to fix this up, if you prefer?
I don't mind either way, it's not causing problems to have the dependency missing.