ASoC: add snd_soc_get_stream_cpu()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 1 Jun 2023 00:42:49 +0000 (00:42 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Jun 2023 15:57:31 +0000 (16:57 +0100)
commit1c943f60e830d0b959c765df09d4c4b254de0481
treee1b38e3ffa76b4901d3149afd89ffb9b6c9484a3
parentb9aa53fbee1e55abfcdfcc081c242de3c0582be4
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>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c