summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-12-13 01:55:34 +0100
committerMark Brown <broonie@kernel.org>2019-12-16 13:02:39 +0100
commitbfc5b22c7181b39cb106ae5c2fb1dfb6ad53a724 (patch)
treed3ce7bc769c051f38a52cafebb0fce901582951b /sound
parentASoC: samsung: bells: use snd_soc_dai_link_component for codec_conf (diff)
downloadlinux-bfc5b22c7181b39cb106ae5c2fb1dfb6ad53a724.tar.xz
linux-bfc5b22c7181b39cb106ae5c2fb1dfb6ad53a724.zip
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 <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/877e3159ix.wl-kuninori.morimoto.gx@renesas.com Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/samsung/lowland.c2
1 files changed, 1 insertions, 1 deletions
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",
},
};