diff mbox

ASoC: da7210: Fix dependency to allow build with SND_SOC_I2C_AND_SPI

Message ID 1430731682.32362.2.camel@ingics.com (mailing list archive)
State Accepted
Commit c682363cec52e0eab82e908be04197e79c5e5006
Headers show

Commit Message

Axel Lin May 4, 2015, 9:28 a.m. UTC
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>
---
 sound/soc/codecs/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown May 4, 2015, 11:54 a.m. UTC | #1
On Mon, May 04, 2015 at 05:28:02PM +0800, Axel Lin wrote:
> 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.

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 061c465..ac84ac4 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -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