ASoC: Max98095: Move existing NULL check before pointer dereference.
[deliverable/linux.git] / sound / soc / codecs / Kconfig
CommitLineData
227b4dc6
MB
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
9 default y if SPI_MASTER=y
10
0c941615
MB
11config SND_SOC_ALL_CODECS
12 tristate "Build all ASoC CODEC drivers"
f213f4b5 13 select SND_SOC_88PM860X if MFD_88PM860X
070504ad 14 select SND_SOC_L3
0763722d 15 select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS
e9ade7f9 16 select SND_SOC_AD1836 if SPI_MASTER
a1533d94 17 select SND_SOC_AD193X if SND_SOC_I2C_AND_SPI
ca53fb24 18 select SND_SOC_AD1980 if SND_SOC_AC97_BUS
5683dc7a 19 select SND_SOC_AD73311
754dec6b 20 select SND_SOC_ADS117X
a381934e 21 select SND_SOC_AK4104 if SPI_MASTER
ca53fb24 22 select SND_SOC_AK4535 if I2C
a3a83d9a 23 select SND_SOC_AK4642 if I2C
2312fd8f 24 select SND_SOC_AK4671 if I2C
473f89ff 25 select SND_SOC_ALC5623 if I2C
b56e972b 26 select SND_SOC_CQ0093VC if MFD_DAVINCI_VOICECODEC
72ed5a8c 27 select SND_SOC_CS42L51 if I2C
ca53fb24 28 select SND_SOC_CS4270 if I2C
67b22517 29 select SND_SOC_CS4271 if SND_SOC_I2C_AND_SPI
76a6106f 30 select SND_SOC_CX20442
98615454 31 select SND_SOC_DA7210 if I2C
a077ff90 32 select SND_SOC_DFBMCS320
703dde62 33 select SND_SOC_JZ4740_CODEC if SOC_JZ4740
9b74c7d6 34 select SND_SOC_LM4857 if I2C
e86e1244 35 select SND_SOC_MAX98088 if I2C
82a5a936 36 select SND_SOC_MAX98095 if I2C
0e45cab6 37 select SND_SOC_MAX9850 if I2C
b4541665 38 select SND_SOC_MAX9877 if I2C
1c0090c2 39 select SND_SOC_PCM3008
9b34e6cc 40 select SND_SOC_SGTL5000 if I2C
4dc69be2 41 select SND_SOC_SN95031 if INTEL_SCU_IPC
be461ba8 42 select SND_SOC_SPDIF
b39e2855 43 select SND_SOC_SSM2602 if SND_SOC_I2C_AND_SPI
3c166c7f 44 select SND_SOC_STAC9766 if SND_SOC_AC97_BUS
ca53fb24
MB
45 select SND_SOC_TLV320AIC23 if I2C
46 select SND_SOC_TLV320AIC26 if SPI_MASTER
1d471cd1 47 select SND_SOC_TVL320AIC32X4 if I2C
ca53fb24 48 select SND_SOC_TLV320AIC3X if I2C
493b67ef 49 select SND_SOC_TPA6130A2 if I2C
c8bf93f0 50 select SND_SOC_TLV320DAC33 if I2C
cc17557e 51 select SND_SOC_TWL4030 if TWL4030_CORE
8ecbabd9 52 select SND_SOC_TWL6040 if TWL4030_CORE
1cad1de1 53 select SND_SOC_UDA134X
ca53fb24 54 select SND_SOC_UDA1380 if I2C
40285f83 55 select SND_SOC_WL1273 if MFD_WL1273_CORE
4bb3f43c 56 select SND_SOC_WM1250_EV1 if I2C
3a66d387 57 select SND_SOC_WM2000 if I2C
40aa4a30 58 select SND_SOC_WM8350 if MFD_WM8350
aaf1e176 59 select SND_SOC_WM8400 if MFD_WM8400
227b4dc6 60 select SND_SOC_WM8510 if SND_SOC_I2C_AND_SPI
1dcf98ff 61 select SND_SOC_WM8523 if I2C
ca53fb24 62 select SND_SOC_WM8580 if I2C
08aff8cd 63 select SND_SOC_WM8711 if SND_SOC_I2C_AND_SPI
89933dee 64 select SND_SOC_WM8727
227b4dc6
MB
65 select SND_SOC_WM8728 if SND_SOC_I2C_AND_SPI
66 select SND_SOC_WM8731 if SND_SOC_I2C_AND_SPI
2a9ae13a 67 select SND_SOC_WM8737 if SND_SOC_I2C_AND_SPI
992bee40 68 select SND_SOC_WM8741 if SND_SOC_I2C_AND_SPI
227b4dc6
MB
69 select SND_SOC_WM8750 if SND_SOC_I2C_AND_SPI
70 select SND_SOC_WM8753 if SND_SOC_I2C_AND_SPI
c046fd4d 71 select SND_SOC_WM8770 if SPI_MASTER
924914ee 72 select SND_SOC_WM8776 if SND_SOC_I2C_AND_SPI
33cf45c8 73 select SND_SOC_WM8804 if SND_SOC_I2C_AND_SPI
ca53fb24
MB
74 select SND_SOC_WM8900 if I2C
75 select SND_SOC_WM8903 if I2C
a91eb199 76 select SND_SOC_WM8904 if I2C
c93993ac 77 select SND_SOC_WM8915 if I2C
0b5e92c5 78 select SND_SOC_WM8940 if I2C
b35a28af 79 select SND_SOC_WM8955 if I2C
f2644a2c 80 select SND_SOC_WM8960 if I2C
74dc55ed 81 select SND_SOC_WM8961 if I2C
9a76f1ff 82 select SND_SOC_WM8962 if I2C
ca53fb24 83 select SND_SOC_WM8971 if I2C
0a1bf553 84 select SND_SOC_WM8974 if I2C
0d34e915 85 select SND_SOC_WM8978 if I2C
6d6f8b83 86 select SND_SOC_WM8985 if SND_SOC_I2C_AND_SPI
5409fb4e 87 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI
ca53fb24 88 select SND_SOC_WM8990 if I2C
203db220 89 select SND_SOC_WM8991 if I2C
942c435b 90 select SND_SOC_WM8993 if I2C
fead215d 91 select SND_SOC_WM8994 if MFD_WM8994
6a504a75 92 select SND_SOC_WM8995 if SND_SOC_I2C_AND_SPI
86ed3669 93 select SND_SOC_WM9081 if I2C
39b8eab7 94 select SND_SOC_WM9090 if I2C
2aceefef 95 select SND_SOC_WM9705 if SND_SOC_AC97_BUS
ca53fb24
MB
96 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
97 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
0c941615
MB
98 help
99 Normally ASoC codec drivers are only built if a machine driver which
100 uses them is also built since they are only usable with a machine
101 driver. Selecting this option will allow these drivers to be built
102 without an explicit machine driver for test and development purposes.
103
ca53fb24
MB
104 Support for the bus types used to access the codecs to be built must
105 be selected separately.
106
0c941615
MB
107 If unsure select "N".
108
f213f4b5
HZ
109config SND_SOC_88PM860X
110 tristate
111
a2342ae3
MB
112config SND_SOC_WM_HUBS
113 tristate
41f9a314
CC
114 default y if SND_SOC_WM8993=y || SND_SOC_WM8994=y
115 default m if SND_SOC_WM8993=m || SND_SOC_WM8994=m
0c941615 116
7f137ab6
RP
117config SND_SOC_AC97_CODEC
118 tristate
89fe5117 119 select SND_AC97_CODEC
7f137ab6 120
7eaae41e
BS
121config SND_SOC_AD1836
122 tristate
123
a1533d94 124config SND_SOC_AD193X
1274738d
BS
125 tristate
126
5f57dc8b
CC
127config SND_SOC_AD1980
128 tristate
129
0e77e784
CC
130config SND_SOC_AD73311
131 tristate
2dcf9fb9
GG
132
133config SND_SOC_ADS117X
134 tristate
0e77e784 135
a381934e
DM
136config SND_SOC_AK4104
137 tristate
138
796d2ca8
RP
139config SND_SOC_AK4535
140 tristate
141
a3a83d9a
KM
142config SND_SOC_AK4642
143 tristate
144
2312fd8f
JS
145config SND_SOC_AK4671
146 tristate
147
6f4bc952
APR
148config SND_SOC_ALC5623
149 tristate
150
b56e972b
MA
151config SND_SOC_CQ0093VC
152 tristate
153
72ed5a8c 154config SND_SOC_CS42L51
155 tristate
156
3e860846
MB
157# Cirrus Logic CS4270 Codec
158config SND_SOC_CS4270
159 tristate
160
3e860846
MB
161# Cirrus Logic CS4270 Codec VD = 3.3V Errata
162# Select if you are affected by the errata where the part will not function
163# if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will
164# not select any sample rates that require MCLK to be divided by 1.5.
165config SND_SOC_CS4270_VD33_ERRATA
166 bool
167 depends on SND_SOC_CS4270
168
67b22517
AS
169config SND_SOC_CS4271
170 tristate
171
459dc352
JK
172config SND_SOC_CX20442
173 tristate
174
3b097d64
LPC
175config SND_SOC_JZ4740_CODEC
176 tristate
177
1cad1de1
CP
178config SND_SOC_L3
179 tristate
180
b4541665
MB
181config SND_SOC_DA7210
182 tristate
183
a077ff90
LPC
184config SND_SOC_DFBMCS320
185 tristate
186
a710770e
DL
187config SND_SOC_DMIC
188 tristate
189
e86e1244
MB
190config SND_SOC_MAX98088
191 tristate
192
82a5a936
PH
193config SND_SOC_MAX98095
194 tristate
195
0e45cab6
CG
196config SND_SOC_MAX9850
197 tristate
198
1c0090c2
HV
199config SND_SOC_PCM3008
200 tristate
201
9b34e6cc
ZZ
202#Freescale sgtl5000 codec
203config SND_SOC_SGTL5000
204 tristate
205
4dc69be2
VK
206config SND_SOC_SN95031
207 tristate
208
be461ba8
C
209config SND_SOC_SPDIF
210 tristate
211
3e860846
MB
212config SND_SOC_SSM2602
213 tristate
214
3c166c7f
JS
215config SND_SOC_STAC9766
216 tristate
217
c1f27190
AK
218config SND_SOC_TLV320AIC23
219 tristate
c1f27190 220
3e860846 221config SND_SOC_TLV320AIC26
d5d8d837 222 tristate "TI TLV320AIC26 Codec support" if SND_SOC_OF_SIMPLE
446e0f69 223 depends on SPI
3e860846 224
1d471cd1
JM
225config SND_SOC_TVL320AIC32X4
226 tristate
227
3e860846
MB
228config SND_SOC_TLV320AIC3X
229 tristate
c8bf93f0
PU
230
231config SND_SOC_TLV320DAC33
232 tristate
3e860846 233
cc17557e 234config SND_SOC_TWL4030
7a1fecf5 235 select TWL4030_CODEC
cc17557e 236 tristate
cc17557e 237
8ecbabd9
MLC
238config SND_SOC_TWL6040
239 tristate
240
1cad1de1
CP
241config SND_SOC_UDA134X
242 tristate
1cad1de1 243
b7482f52
PZ
244config SND_SOC_UDA1380
245 tristate
246
49d7ad9d
MB
247config SND_SOC_WL1273
248 tristate
249
4bb3f43c
MB
250config SND_SOC_WM1250_EV1
251 tristate
252
40aa4a30
MB
253config SND_SOC_WM8350
254 tristate
255
aaf1e176
MB
256config SND_SOC_WM8400
257 tristate
258
5d421516
MB
259config SND_SOC_WM8510
260 tristate
261
1dcf98ff
MB
262config SND_SOC_WM8523
263 tristate
264
e88ba015
MB
265config SND_SOC_WM8580
266 tristate
267
bd6d4177
MA
268config SND_SOC_WM8711
269 tristate
270
89933dee
NJ
271config SND_SOC_WM8727
272 tristate
273
71cfc902
MB
274config SND_SOC_WM8728
275 tristate
276
7f137ab6
RP
277config SND_SOC_WM8731
278 tristate
7f137ab6 279
2a9ae13a
MB
280config SND_SOC_WM8737
281 tristate
282
992bee40
IL
283config SND_SOC_WM8741
284 tristate
285
7f137ab6
RP
286config SND_SOC_WM8750
287 tristate
7f137ab6 288
33703b73
LG
289config SND_SOC_WM8753
290 tristate
33703b73 291
c046fd4d
DP
292config SND_SOC_WM8770
293 tristate
294
924914ee
MB
295config SND_SOC_WM8776
296 tristate
297
33cf45c8
DP
298config SND_SOC_WM8804
299 tristate
300
0e0e16a8
MB
301config SND_SOC_WM8900
302 tristate
303
f1c0a02f
MB
304config SND_SOC_WM8903
305 tristate
306
a91eb199
MB
307config SND_SOC_WM8904
308 tristate
309
c93993ac
MB
310config SND_SOC_WM8915
311 tristate
312
0b5e92c5
JC
313config SND_SOC_WM8940
314 tristate
315
b35a28af
MB
316config SND_SOC_WM8955
317 tristate
318
f2644a2c
MB
319config SND_SOC_WM8960
320 tristate
321
74dc55ed
MB
322config SND_SOC_WM8961
323 tristate
324
9a76f1ff
MB
325config SND_SOC_WM8962
326 tristate
327
8bae3e23
KK
328config SND_SOC_WM8971
329 tristate
330
0a1bf553
MB
331config SND_SOC_WM8974
332 tristate
333
0d34e915
GL
334config SND_SOC_WM8978
335 tristate
336
6d6f8b83
DP
337config SND_SOC_WM8985
338 tristate
339
5409fb4e
MB
340config SND_SOC_WM8988
341 tristate
342
f10485e7
MB
343config SND_SOC_WM8990
344 tristate
345
203db220
DP
346config SND_SOC_WM8991
347 tristate
348
942c435b
MB
349config SND_SOC_WM8993
350 tristate
351
9e6e96a1
MB
352config SND_SOC_WM8994
353 tristate
354
6a504a75
DP
355config SND_SOC_WM8995
356 tristate
357
86ed3669
MB
358config SND_SOC_WM9081
359 tristate
360
2aceefef
IM
361config SND_SOC_WM9705
362 tristate
363
7f137ab6
RP
364config SND_SOC_WM9712
365 tristate
b0c813ce 366
83ac08c0
LG
367config SND_SOC_WM9713
368 tristate
9db9ed97
JS
369
370# Amp
9b0a25f0
LPC
371config SND_SOC_LM4857
372 tristate
373
9db9ed97
JS
374config SND_SOC_MAX9877
375 tristate
493b67ef
PU
376
377config SND_SOC_TPA6130A2
378 tristate
3a66d387
MB
379
380config SND_SOC_WM2000
381 tristate
39b8eab7
MB
382
383config SND_SOC_WM9090
384 tristate
This page took 0.289722 seconds and 5 git commands to generate.