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

From: Adam Thomson
Date: Tue Nov 26 2019 - 12:05:41 EST


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

Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@xxxxxxxxxxx>

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