summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2020-11-30 22:56:26 +0100
committerMark Brown <broonie@kernel.org>2020-12-02 15:19:08 +0000
commitadc7d561800997d39abc689ad05cf3cd1270b97a (patch)
treee834374fb8cd6395ec4c602c004b5bee1e9508d6 /sound
parent4d638b9cc79eff11bad13fb3715c0ef38a9edaec (diff)
downloadlinux-adc7d561800997d39abc689ad05cf3cd1270b97a.tar.gz
linux-adc7d561800997d39abc689ad05cf3cd1270b97a.tar.bz2
linux-adc7d561800997d39abc689ad05cf3cd1270b97a.zip
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')
-rw-r--r--sound/soc/codecs/Kconfig2
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