Blob Blame History Raw
From 36da67630d3159e48e37a9f9b2d26ceece426482 Mon Sep 17 00:00:00 2001
From: Sebastian Reichel <sebastian.reichel@collabora.com>
Date: Fri, 8 Nov 2019 18:48:40 +0100
Subject: [PATCH] ASoC: Add DA7213 audio codec as selectable option
Git-commit: 36da67630d3159e48e37a9f9b2d26ceece426482
Patch-mainline: v5.5-rc1
References: jsc#SLE-16518

This commit adds the Dialog DA7213 audio codec as a selectable option
in the kernel config. Currently the driver can only be selected for
Intel Baytrail/Cherrytrail devices or if SND_SOC_ALL_CODECS is enabled.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20191108174843.11227-3-sebastian.reichel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Takashi Iwai <tiwai@suse.de>

---
 sound/soc/codecs/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -677,7 +677,8 @@ config SND_SOC_DA7210
 	tristate
 
 config SND_SOC_DA7213
-	tristate
+	tristate "Dialog DA7213 CODEC"
+	depends on I2C
 
 config SND_SOC_DA7218
 	tristate