diff mbox series

[PATCHv2,3/6] ASoC: da7213: Provide selectable option

Message ID 20191120152406.2744-4-sebastian.reichel@collabora.com (mailing list archive)
State New, archived
Headers show
Series ASoC: da7213: support for usage with simple-card | expand

Commit Message

Sebastian Reichel Nov. 20, 2019, 3:24 p.m. UTC
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>
---
 sound/soc/codecs/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Adam Thomson Nov. 26, 2019, 5:05 p.m. UTC | #1
On 20 November 2019 15:24, Sebastian Reichel wrote:

> 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>

Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>

> ---
>  sound/soc/codecs/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
> index 229cc89f8c5a..1d44fbc3d407 100644
> --- a/sound/soc/codecs/Kconfig
> +++ b/sound/soc/codecs/Kconfig
> @@ -646,7 +646,8 @@ config SND_SOC_DA7210
>          tristate
> 
>  config SND_SOC_DA7213
> -        tristate
> +	tristate "Dialog DA7213 CODEC"
> +	depends on I2C
> 
>  config SND_SOC_DA7218
>  	tristate
> --
> 2.24.0
diff mbox series

Patch

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 229cc89f8c5a..1d44fbc3d407 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -646,7 +646,8 @@  config SND_SOC_DA7210
         tristate
 
 config SND_SOC_DA7213
-        tristate
+	tristate "Dialog DA7213 CODEC"
+	depends on I2C
 
 config SND_SOC_DA7218
 	tristate