Skip to content

Commit

Permalink
ASoC: madera: Add dependencies on MFD
Browse files Browse the repository at this point in the history
The Madera CODECs use regmap_irq functions but nothing ensures that
regmap_irq is built into the kernel. Add dependencies on the ASoC
symbols for the relevant MFD component. There is no point in building
the ASoC driver if the MFD doesn't support it and the MFD part contains
the necessary dependencies to ensure everything is built into the
kernel.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220203115025.16464-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
charleskeepax authored and broonie committed Feb 3, 2022
1 parent ed482dc commit ec29170
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -733,22 +733,27 @@ config SND_SOC_CS4349

config SND_SOC_CS47L15
tristate
depends on MFD_CS47L15

config SND_SOC_CS47L24
tristate
depends on MFD_CS47L24 && MFD_ARIZONA

config SND_SOC_CS47L35
tristate
depends on MFD_CS47L35

config SND_SOC_CS47L85
tristate
depends on MFD_CS47L85

config SND_SOC_CS47L90
tristate
depends on MFD_CS47L90

config SND_SOC_CS47L92
tristate
depends on MFD_CS47L92

# Cirrus Logic Quad-Channel ADC
config SND_SOC_CS53L30
Expand Down

0 comments on commit ec29170

Please sign in to comment.