OSDN Git Service

ASoC: da7210: Fix dependency to allow build with SND_SOC_I2C_AND_SPI
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 May 2015 09:28:02 +0000 (17:28 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2015 11:54:05 +0000 (12:54 +0100)
Since commit aa0e25caafb7 ("ASoC: da7210: Add support for spi regmap"),
the da7210 codec driver supports both I2C and SPI buses.
Thus update the dependency accordingly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 061c465..ac84ac4 100644 (file)
@@ -54,7 +54,7 @@ config SND_SOC_ALL_CODECS
        select SND_SOC_CS4271_SPI if SPI_MASTER
        select SND_SOC_CS42XX8_I2C if I2C
        select SND_SOC_CX20442 if TTY
-       select SND_SOC_DA7210 if I2C
+       select SND_SOC_DA7210 if SND_SOC_I2C_AND_SPI
        select SND_SOC_DA7213 if I2C
        select SND_SOC_DA732X if I2C
        select SND_SOC_DA9055 if I2C