aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-08-08 14:52:47 +0900
committerMark Brown <broonie@kernel.org>2019-08-09 18:12:28 +0100
commit14fdfc058d812f683d9aa51083d1a920aa6a1eb9 (patch)
treeab6263c33ef6bca9ebe44bed9ce016e8113af7ee /sound/soc/generic
parentASoC: soc-core: support snd_soc_dai_link_component for aux_dev (diff)
downloadlinux-dev-14fdfc058d812f683d9aa51083d1a920aa6a1eb9.tar.xz
linux-dev-14fdfc058d812f683d9aa51083d1a920aa6a1eb9.zip
ASoC: simple-card: use snd_soc_dai_link_component for aux_dev
We can use snd_soc_dai_link_component to specify aux_dev. Let's use it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87wofo6wc1.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index ef849151ba56..0eac3bcb9736 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -424,7 +424,7 @@ static int simple_parse_aux_devs(struct device_node *node,
aux_node = of_parse_phandle(node, PREFIX "aux-devs", i);
if (!aux_node)
return -EINVAL;
- card->aux_dev[i].codec_of_node = aux_node;
+ card->aux_dev[i].dlc.of_node = aux_node;
}
card->num_aux_devs = n;