summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dai.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-15 09:46:47 +0900
committerMark Brown <broonie@kernel.org>2020-05-18 16:15:02 +0100
commit5552f8d72893cea29a0074a3ea0a1a5766858fcd (patch)
tree7c86c9bba81b33d600a6ea58a797e47fca9ca975 /sound/soc/soc-dai.c
parent488b2ca599f96d46d4a4d730845a247328cb6a28 (diff)
ASoC: soc-dai: add snd_soc_dai_stream_active()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/874ksi6n48.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dai.c')
-rw-r--r--sound/soc/soc-dai.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-dai.c b/sound/soc/soc-dai.c
index bb771302fd6f..8172ff42d796 100644
--- a/sound/soc/soc-dai.c
+++ b/sound/soc/soc-dai.c
@@ -391,6 +391,7 @@ bool snd_soc_dai_stream_valid(struct snd_soc_dai *dai, int dir)
void snd_soc_dai_action(struct snd_soc_dai *dai,
int stream, int action)
{
+ /* see snd_soc_dai_stream_active() */
dai->stream_active[stream] += action;
dai->active += action;
/* see snd_soc_component_active() */