aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2014-11-25 07:16:12 -0500
committerMark Brown <broonie@kernel.org>2014-11-25 08:21:14 -0500
commit93b0f3eeebdce6f32417187b5d24ea218a3e7fb4 (patch)
treecca9a34e02e0da3a9bbb8aaeacfdd116a6ff26a9 /include/sound/soc.h
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
ASoC: core: add multi-codec support in DT
This patch exports a core function which handles the DT description of multi-codec links (as: "sound-dai = <&hdmi 0>, <&spdif_codec>;") and creates a CODEC component array in the DAI link. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 7ba7130037a0..2750e6ad0128 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1451,6 +1451,9 @@ unsigned int snd_soc_of_parse_daifmt(struct device_node *np,
1451 struct device_node **framemaster); 1451 struct device_node **framemaster);
1452int snd_soc_of_get_dai_name(struct device_node *of_node, 1452int snd_soc_of_get_dai_name(struct device_node *of_node,
1453 const char **dai_name); 1453 const char **dai_name);
1454int snd_soc_of_get_dai_link_codecs(struct device *dev,
1455 struct device_node *of_node,
1456 struct snd_soc_dai_link *dai_link);
1454 1457
1455#include <sound/soc-dai.h> 1458#include <sound/soc-dai.h>
1456 1459