summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dai.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-15 02:46:42 +0200
committerMark Brown <broonie@kernel.org>2020-05-18 17:15:02 +0200
commit488b2ca599f96d46d4a4d730845a247328cb6a28 (patch)
treeccb135b0993375480f2b7bad246c9a5582dbd6f6 /sound/soc/soc-dai.c
parentASoC: soc-dai: add snd_soc_dai_active() (diff)
downloadlinux-488b2ca599f96d46d4a4d730845a247328cb6a28.tar.xz
linux-488b2ca599f96d46d4a4d730845a247328cb6a28.zip
ASoC: soc-component: add snd_soc_component_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/875zcy6n4d.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 de2981fa5372..bb771302fd6f 100644
--- a/sound/soc/soc-dai.c
+++ b/sound/soc/soc-dai.c
@@ -393,6 +393,7 @@ void snd_soc_dai_action(struct snd_soc_dai *dai,
{
dai->stream_active[stream] += action;
dai->active += action;
+ /* see snd_soc_component_active() */
dai->component->active += action;
}
EXPORT_SYMBOL_GPL(snd_soc_dai_action);