# Helper to resolve issues with configs that have SPI enabled but I2C# modular, meaning we can't build the codec driver in with I2C support.# We use an ordered list of conditional defaults to pick the appropriate# setting - SPI can't be modular so that case doesn't need to be covered.configSND_SOC_I2C_AND_SPI
tristatedefaultmifI2C=m
defaultyifI2C=y
defaultyifSPI_MASTER=y
menu"CODEC drivers"configSND_SOC_ALL_CODECS
tristate"Build all ASoC CODEC drivers"depends onCOMPILE_TEST
selectSND_SOC_88PM860XifMFD_88PM860X
selectSND_SOC_L3
selectSND_SOC_AB8500_CODECifABX500_CORE
selectSND_SOC_AC97_CODEC
selectSND_SOC_AD1836ifSPI_MASTER
selectSND_SOC_AD193X_SPIifSPI_MASTER
selectSND_SOC_AD193X_I2CifI2C
selectSND_SOC_AD1980ifSND_SOC_AC97_BUS
selectSND_SOC_AD73311
selectSND_SOC_ADAU1373ifI2C
selectSND_SOC_ADAU1761_I2CifI2C
selectSND_SOC_ADAU1761_SPIifSPI
selectSND_SOC_ADAU1781_I2CifI2C
selectSND_SOC_ADAU1781_SPIifSPI
selectSND_SOC_ADAV801ifSPI_MASTER
selectSND_SOC_ADAV803ifI2C
selectSND_SOC_ADAU1977_SPIifSPI_MASTER
selectSND_SOC_ADAU1977_I2CifI2C
selectSND_SOC_ADAU1701ifI2C
selectSND_SOC_ADAU7002
selectSND_SOC_ADS117X
selectSND_SOC_AK4104ifSPI_MASTER
selectSND_SOC_AK4118ifI2C
selectSND_SOC_AK4458ifI2C
selectSND_SOC_AK4535ifI2C
selectSND_SOC_AK4554
selectSND_SOC_AK4613ifI2C
selectSND_SOC_AK4641ifI2C
selectSND_SOC_AK4642ifI2C
selectSND_SOC_AK4671ifI2C
selectSND_SOC_AK5386
select