aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-06-01 00:42:49 +0000
committerMark Brown <broonie@kernel.org>2023-06-06 16:57:31 +0100
commit1c943f60e830d0b959c765df09d4c4b254de0481 (patch)
treee1b38e3ffa76b4901d3149afd89ffb9b6c9484a3 /include/sound/soc.h
parentASoC: soc.h: remove snd_soc_compr_ops :: trigger (diff)
downloadwireguard-linux-1c943f60e830d0b959c765df09d4c4b254de0481.tar.xz
wireguard-linux-1c943f60e830d0b959c765df09d4c4b254de0481.zip
ASoC: add snd_soc_get_stream_cpu()
We are using get_stream_cpu() to get CPU stream which cares Codec2Codec. But it is static function for now, and we want to use it from other files. This patch makes it global function. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87fs7cj9mf.wl-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 888b23237840..10e4ea0664af 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1291,6 +1291,7 @@ unsigned int snd_soc_daifmt_parse_clock_provider_raw(struct device_node *np,
snd_soc_daifmt_clock_provider_from_bitmap( \
snd_soc_daifmt_parse_clock_provider_as_bitmap(np, prefix))
+int snd_soc_get_stream_cpu(struct snd_soc_dai_link *dai_link, int stream);
int snd_soc_get_dai_id(struct device_node *ep);
int snd_soc_get_dai_name(const struct of_phandle_args *args,
const char **dai_name);