WSL2-Linux-Kernel/sound/soc
Mark Brown 227b4dc643 ASoC: Fix SND_SOC_ALL_CODECS handling of dual SPI and I2C control buses
For codecs that have both SPI and I2C support we need to ensure that we
don't try to make the codec driver built in when I2C is modular since
that won't link.  Do this by creating a helper variable which uses
conditional defaults to pick up the correct value for all combinations.

We don't need to do anything special for I2C-only codecs since a
conditional select passes on the full value for a tristate.

Reported-by: Ingo Molnar <mingo@elte.hu>
Tested-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-01-06 14:23:10 +00:00
..
atmel ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek 2009-01-06 09:52:18 +00:00
au1x ASoC: Register platform drivers 2008-12-09 10:49:28 +00:00
blackfin ASoC: Fix variable name for Blackfin I2S DAI 2008-12-11 16:12:14 +00:00
codecs ASoC: Fix SND_SOC_ALL_CODECS handling of dual SPI and I2C control buses 2009-01-06 14:23:10 +00:00
davinci ASoC: Clocking fixes for davinci-evm.c 2009-01-05 17:47:17 +00:00
fsl ALSA: ASoC - Fix wrong section types 2008-12-10 07:47:22 +01:00
omap ASoC: Mark non-connected TWL4030 pins for pandora 2009-01-05 17:47:16 +00:00
pxa ASoC: Fix pxa2xx-pcm checks for invalid DMA channels 2009-01-01 11:52:48 +00:00
s3c24xx Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-12-30 17:36:49 -08:00
sh ALSA: ASoC - Fix wrong section types 2008-12-10 07:47:22 +01:00
Kconfig ASoC: Ease merge difficulties from new architectures 2008-12-18 17:21:01 +00:00
Makefile ASoC: Ease merge difficulties from new architectures 2008-12-18 17:21:01 +00:00
soc-core.c ASoC: New enum type: value_enum 2009-01-05 17:47:17 +00:00
soc-dapm.c ASoC: New enum type: value_enum 2009-01-05 17:47:17 +00:00