Kconfig (493b67efffc462703d583389aca96f850c18d3b3) Kconfig (c8bf93f0fe8c5a509a29e30f3bac823fa0f6d96e)
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y

--- 16 unchanged lines hidden (view full) ---

25 select SND_SOC_PCM3008
26 select SND_SOC_SPDIF
27 select SND_SOC_SSM2602 if I2C
28 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
29 select SND_SOC_TLV320AIC23 if I2C
30 select SND_SOC_TLV320AIC26 if SPI_MASTER
31 select SND_SOC_TLV320AIC3X if I2C
32 select SND_SOC_TPA6130A2 if I2C
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y

--- 16 unchanged lines hidden (view full) ---

25 select SND_SOC_PCM3008
26 select SND_SOC_SPDIF
27 select SND_SOC_SSM2602 if I2C
28 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
29 select SND_SOC_TLV320AIC23 if I2C
30 select SND_SOC_TLV320AIC26 if SPI_MASTER
31 select SND_SOC_TLV320AIC3X if I2C
32 select SND_SOC_TPA6130A2 if I2C
33 select SND_SOC_TLV320DAC33 if I2C
33 select SND_SOC_TWL4030 if TWL4030_CORE
34 select SND_SOC_UDA134X
35 select SND_SOC_UDA1380 if I2C
36 select SND_SOC_WM8350 if MFD_WM8350
37 select SND_SOC_WM8400 if MFD_WM8400
38 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
39 select SND_SOC_WM8523 if I2C
40 select SND_SOC_WM8580 if I2C

--- 96 unchanged lines hidden (view full) ---

137
138config SND_SOC_TLV320AIC26
139 tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
140 depends on SPI
141
142config SND_SOC_TLV320AIC3X
143 tristate
144
34 select SND_SOC_TWL4030 if TWL4030_CORE
35 select SND_SOC_UDA134X
36 select SND_SOC_UDA1380 if I2C
37 select SND_SOC_WM8350 if MFD_WM8350
38 select SND_SOC_WM8400 if MFD_WM8400
39 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
40 select SND_SOC_WM8523 if I2C
41 select SND_SOC_WM8580 if I2C

--- 96 unchanged lines hidden (view full) ---

138
139config SND_SOC_TLV320AIC26
140 tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
141 depends on SPI
142
143config SND_SOC_TLV320AIC3X
144 tristate
145
146config SND_SOC_TLV320DAC33
147 tristate
148
145config SND_SOC_TWL4030
146 tristate
147
148config SND_SOC_UDA134X
149 tristate
150
151config SND_SOC_UDA1380
152 tristate

--- 82 unchanged lines hidden ---
149config SND_SOC_TWL4030
150 tristate
151
152config SND_SOC_UDA134X
153 tristate
154
155config SND_SOC_UDA1380
156 tristate

--- 82 unchanged lines hidden ---