From: Kuninori Morimoto Date: Fri, 13 Dec 2019 00:55:34 +0000 (+0900) Subject: ASoC: samsung: lowland: use snd_soc_dai_link_component for codec_conf X-Git-Tag: v5.6-rc1~42^2~3^2~194 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=bfc5b22c7181b39cb106ae5c2fb1dfb6ad53a724;p=users%2Fjedix%2Flinux-maple.git ASoC: samsung: lowland: use snd_soc_dai_link_component for codec_conf We can use snd_soc_dai_link_component to specify codec_conf. Let's use it. Signed-off-by: Kuninori Morimoto Link: https://lore.kernel.org/r/877e3159ix.wl-kuninori.morimoto.gx@renesas.com Reviewed-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/lowland.c b/sound/soc/samsung/lowland.c index 973f22bcc747..098eefc764db 100644 --- a/sound/soc/samsung/lowland.c +++ b/sound/soc/samsung/lowland.c @@ -126,7 +126,7 @@ static struct snd_soc_dai_link lowland_dai[] = { static struct snd_soc_codec_conf lowland_codec_conf[] = { { - .dev_name = "wm9081.1-006c", + .dlc = COMP_CODEC_CONF("wm9081.1-006c"), .name_prefix = "Sub", }, };