[alsa-devel] [PATCH 08/15] ASoC: samsung: neo1973_wm8753: use snd_soc_dai_link_component for aux_dev

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Aug 8 07:54:10 CEST 2019


From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>

We can use snd_soc_dai_link_component to specify aux_dev.
Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
 sound/soc/samsung/neo1973_wm8753.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c
index 396776f..38f536b 100644
--- a/sound/soc/samsung/neo1973_wm8753.c
+++ b/sound/soc/samsung/neo1973_wm8753.c
@@ -297,8 +297,7 @@ static struct snd_soc_dai_link neo1973_dai[] = {
 
 static struct snd_soc_aux_dev neo1973_aux_devs[] = {
 	{
-		.name = "dfbmcs320",
-		.codec_name = "dfbmcs320.0",
+		.dlc = COMP_AUX("dfbmcs320.0"),
 	},
 };
 
-- 
2.7.4



More information about the Alsa-devel mailing list