ASoC: adau1372: add missing dependencies
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 30 Nov 2020 21:56:26 +0000 (22:56 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 2 Dec 2020 15:19:08 +0000 (15:19 +0000)
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>
sound/soc/codecs/Kconfig

index 97b727a..02e23e8 100644 (file)
@@ -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