ASoC: Add AU1761 audio codec as selectable option

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>
This commit is contained in:
Bryce Ferguson 2017-02-27 08:17:42 -06:00 committed by Mark Brown
parent a5de5b74a5
commit e54fde6171
1 changed files with 4 additions and 2 deletions

View File

@ -302,12 +302,14 @@ config SND_SOC_ADAU1761
select SND_SOC_ADAU17X1 select SND_SOC_ADAU17X1
config SND_SOC_ADAU1761_I2C config SND_SOC_ADAU1761_I2C
tristate tristate "Analog Devices AU1761 CODEC - I2C"
depends on I2C
select SND_SOC_ADAU1761 select SND_SOC_ADAU1761
select REGMAP_I2C select REGMAP_I2C
config SND_SOC_ADAU1761_SPI config SND_SOC_ADAU1761_SPI
tristate tristate "Analog Devices AU1761 CODEC - SPI"
depends on SPI
select SND_SOC_ADAU1761 select SND_SOC_ADAU1761
select REGMAP_SPI select REGMAP_SPI