ASoC: atmel: Atmel WM8904 codec support needs I2C
authorArnd Bergmann <arnd@arndb.de>
Tue, 29 Apr 2014 11:18:33 +0000 (19:18 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 1 May 2014 19:09:21 +0000 (12:09 -0700)
The WM8904 codec driver needs I2C to be enabled, so the
SND_ATMEL_SOC_WM8904 option also requires this.

Found using randconfig build testing.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xia Kaixu <kaixu.xia@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/atmel/Kconfig

index 4789619a52d86dc38b8da2222b11cbda50dd0a8c..27e3fc4a536b40595d774865c7f9b7013c01752a 100644 (file)
@@ -35,7 +35,7 @@ config SND_AT91_SOC_SAM9G20_WM8731
 
 config SND_ATMEL_SOC_WM8904
        tristate "Atmel ASoC driver for boards using WM8904 codec"
-       depends on ARCH_AT91 && ATMEL_SSC && SND_ATMEL_SOC
+       depends on ARCH_AT91 && ATMEL_SSC && SND_ATMEL_SOC && I2C
        select SND_ATMEL_SOC_SSC
        select SND_ATMEL_SOC_DMA
        select SND_SOC_WM8904