summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dapm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-03 13:24:41 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2009-01-06 17:23:10 +0300
commit227b4dc6432d271eecd0ff0aefe6f0897ec47397 (patch)
tree464777efda9c28c3689f6e8a7cd5862f5a7a3da7 /sound/soc/soc-dapm.c
parent8c0bad7fa5be47aa8a3d03ff6ee1917fa68b72e3 (diff)
downloadlinux-227b4dc6432d271eecd0ff0aefe6f0897ec47397.tar.xz
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 'sound/soc/soc-dapm.c')
0 files changed, 0 insertions, 0 deletions