ASoC: Add DA7213 audio codec as selectable option
authorSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 8 Nov 2019 17:48:40 +0000 (18:48 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Nov 2019 19:42:23 +0000 (19:42 +0000)
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>
sound/soc/codecs/Kconfig

index 1a4b084cc90d4e76a29e2d35f04855a3f6e62f48..ec01e4f12a780d29fc1df03ab95d4a8bb1cf905b 100644 (file)
@@ -679,7 +679,8 @@ config SND_SOC_DA7210
         tristate
 
 config SND_SOC_DA7213
-        tristate
+       tristate "Dialog DA7213 CODEC"
+       depends on I2C
 
 config SND_SOC_DA7218
        tristate