aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-03 11:24:41 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-06 14:23:10 +0000
commit227b4dc6432d271eecd0ff0aefe6f0897ec47397 (patch)
tree464777efda9c28c3689f6e8a7cd5862f5a7a3da7 /include/sound/soc.h
parentASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek (diff)
downloadlinux-dev-227b4dc6432d271eecd0ff0aefe6f0897ec47397.tar.xz
linux-dev-227b4dc6432d271eecd0ff0aefe6f0897ec47397.zip
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>
Diffstat (limited to 'include/sound/soc.h')
0 files changed, 0 insertions, 0 deletions