projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc29b8
)
ASoC: simple-card: use snd_soc_dai_link_component for aux_dev
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 8 Aug 2019 05:52:47 +0000
(14:52 +0900)
committer
Mark Brown
<broonie@kernel.org>
Fri, 9 Aug 2019 17:12:28 +0000
(18:12 +0100)
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>
sound/soc/generic/simple-card.c
patch
|
blob
|
history
diff --git
a/sound/soc/generic/simple-card.c
b/sound/soc/generic/simple-card.c
index ef849151ba563fd549f0b48e47eb7c5ddbecde95..0eac3bcb973670cbdc7c6a40271869bb094f72d0 100644
(file)
--- 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;