diff options
author | Alexandre Belloni <[email protected]> | 2020-11-30 22:56:26 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-12-02 15:19:08 +0000 |
commit | adc7d561800997d39abc689ad05cf3cd1270b97a (patch) | |
tree | e834374fb8cd6395ec4c602c004b5bee1e9508d6 | |
parent | 4d638b9cc79eff11bad13fb3715c0ef38a9edaec (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-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 |