[alsa-devel] [PATCH] ASoC: Blackfin: allow SPI for SSM2602 parts

Mike Frysinger vapier at gentoo.org
Fri Jun 17 04:24:15 CEST 2011

This board has hardware switches for selecting SPI or I2C, so don't
require I2C for this driver.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
 sound/soc/blackfin/Kconfig |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/sound/soc/blackfin/Kconfig b/sound/soc/blackfin/Kconfig
index 4d361bd..871308f 100644
--- a/sound/soc/blackfin/Kconfig
+++ b/sound/soc/blackfin/Kconfig
@@ -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
 	  Say Y if you want to add support for SoC audio on BF527-EZKIT.

More information about the Alsa-devel mailing list