summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-11-11 01:19:28 +0000
committerMark Brown <broonie@kernel.org>2016-11-11 15:19:34 +0000
commit1ad8ec535b997ed36c0f32c2616206725258dd30 (patch)
tree938c89bdb1aed2c382d2156ff0b009bc6bfe34b2 /include/sound/soc.h
parent7364c8dc255232db33bcd1c5b19eb8f34cf6108a (diff)
downloadlinux-1ad8ec535b997ed36c0f32c2616206725258dd30.tar.gz
linux-1ad8ec535b997ed36c0f32c2616206725258dd30.tar.bz2
linux-1ad8ec535b997ed36c0f32c2616206725258dd30.zip
ASoC: soc-core: snd_soc_get_dai_name() become non static
snd_soc_get_dai_name() is used from snd_soc_of_get_dai_name(), and it is assuming that DT is using "sound-dai" / "#sound-dai-cells". But graph base DT is using "remote-endpoint". This patch makes snd_soc_get_dai_name() non static for graph support. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 148bf553d598..6dffa9540a30 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1666,6 +1666,8 @@ unsigned int snd_soc_of_parse_daifmt(struct device_node *np,
const char *prefix,
struct device_node **bitclkmaster,
struct device_node **framemaster);
+int snd_soc_get_dai_name(struct of_phandle_args *args,
+ const char **dai_name);
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,