diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-12-01 00:56:26 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-02 18:19:08 +0300 |
commit | adc7d561800997d39abc689ad05cf3cd1270b97a (patch) | |
tree | e834374fb8cd6395ec4c602c004b5bee1e9508d6 /sound/soc/codecs/Kconfig | |
parent | 4d638b9cc79eff11bad13fb3715c0ef38a9edaec (diff) | |
download | linux-adc7d561800997d39abc689ad05cf3cd1270b97a.tar.xz |
ASoC: adau1372: add missing dependencies
SND_SOC_ADAU1372_I2C and SND_SOC_ADAU1372_SPI prpoerly select the REGMAP
config they need but forget to depend on the underlying bus.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201130215626.2400999-1-alexandre.belloni@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 97b727a449b3..02e23e802b24 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -373,11 +373,13 @@ config SND_SOC_ADAU1372 config SND_SOC_ADAU1372_I2C tristate "Analog Devices ADAU1372 CODEC (I2C)" + depends on I2C select SND_SOC_ADAU1372 select REGMAP_I2C config SND_SOC_ADAU1372_SPI tristate "Analog Devices ADAU1372 CODEC (SPI)" + depends on SPI select SND_SOC_ADAU1372 select REGMAP_SPI |