summaryrefslogtreecommitdiffstats
path: root/drivers/ide/sl82c105.c
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 /drivers/ide/sl82c105.c
parent8c0bad7fa5be47aa8a3d03ff6ee1917fa68b72e3 (diff)
downloadlinux-227b4dc6432d271eecd0ff0aefe6f0897ec47397.tar.gz
linux-227b4dc6432d271eecd0ff0aefe6f0897ec47397.tar.bz2
linux-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 'drivers/ide/sl82c105.c')
0 files changed, 0 insertions, 0 deletions