diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-01-03 11:24:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-01-06 14:23:10 +0000 |
commit | 227b4dc6432d271eecd0ff0aefe6f0897ec47397 (patch) | |
tree | 464777efda9c28c3689f6e8a7cd5862f5a7a3da7 /include/sound/soc-dapm.h | |
parent | 8c0bad7fa5be47aa8a3d03ff6ee1917fa68b72e3 (diff) |
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-dapm.h')
0 files changed, 0 insertions, 0 deletions