ASoC: Blackfin: allow SPI for SSM2602 parts
authorMike Frysinger <vapier@gentoo.org>
Fri, 17 Jun 2011 02:24:15 +0000 (22:24 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Jun 2011 09:40:16 +0000 (10:40 +0100)
This board has hardware switches for selecting SPI or I2C, so don't
require I2C for this driver.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/Kconfig

index 30706235ba04cfe2ae503cc33e250bef9218c6d1..fa6a6d2abffcfe360e8533fd7a1d3937cb6e00ce 100644 (file)
@@ -10,10 +10,9 @@ config SND_BF5XX_I2S
 
 config SND_BF5XX_SOC_SSM2602
        tristate "SoC SSM2602 Audio support for BF52x ezkit"
-       depends on SND_BF5XX_I2S
+       depends on SND_BF5XX_I2S && (SPI_MASTER || I2C)
        select SND_BF5XX_SOC_I2S
        select SND_SOC_SSM2602
-       select I2C
        help
          Say Y if you want to add support for SoC audio on BF527-EZKIT.