diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2014-11-25 13:16:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-25 14:21:14 +0100 |
commit | 93b0f3eeebdce6f32417187b5d24ea218a3e7fb4 (patch) | |
tree | cca9a34e02e0da3a9bbb8aaeacfdd116a6ff26a9 /include | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-93b0f3eeebdce6f32417187b5d24ea218a3e7fb4.tar.xz linux-93b0f3eeebdce6f32417187b5d24ea218a3e7fb4.zip |
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')
-rw-r--r-- | include/sound/soc.h | 3 |
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, struct device_node **framemaster); int snd_soc_of_get_dai_name(struct device_node *of_node, const char **dai_name); +int snd_soc_of_get_dai_link_codecs(struct device *dev, + struct device_node *of_node, + struct snd_soc_dai_link *dai_link); #include <sound/soc-dai.h> |