ASoC: Add AU1761 audio codec as selectable option
authorBryce Ferguson <bryce.ferguson@rockwellcollins.com>
Mon, 27 Feb 2017 14:17:42 +0000 (08:17 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 15 Mar 2017 18:04:40 +0000 (18:04 +0000)
This commit adds the ADI AU1761 audio codec as a selectable option
in the kernel config.  Currently the driver can only be selected
for ADI blackfin devices or if SND_SOC_ALL_CODECS is enabled.

Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 9e1718a8cb1ce20a0fd68e2cbe797653b39aadeb..71039982dae4f0df0ddeec27843f028d98828b7c 100644 (file)
@@ -302,12 +302,14 @@ config SND_SOC_ADAU1761
        select SND_SOC_ADAU17X1
 
 config SND_SOC_ADAU1761_I2C
-       tristate
+       tristate "Analog Devices AU1761 CODEC - I2C"
+       depends on I2C
        select SND_SOC_ADAU1761
        select REGMAP_I2C
 
 config SND_SOC_ADAU1761_SPI
-       tristate
+       tristate "Analog Devices AU1761 CODEC - SPI"
+       depends on SPI
        select SND_SOC_ADAU1761
        select REGMAP_SPI