summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dai.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-05-15 09:48:02 +0900
committerMark Brown <broonie@kernel.org>2020-05-18 16:15:16 +0100
commit0812a08ac8d054efc6cf2895d3b0e82c8731f8e9 (patch)
tree8ea1162c42076d6319ecc958168234e7c0daed60 /sound/soc/soc-dai.c
parent8db4f94fb3088528a8a64e2c39c8bf764a9433b0 (diff)
ASoC: cleanup dai / component active code
No one is using dai->active, snd_soc_component_is_active(). Let's remove these. 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/87imgy58hp.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dai.c b/sound/soc/soc-dai.c
index 8172ff42d796..ce4e1fd1ab79 100644
--- a/sound/soc/soc-dai.c
+++ b/sound/soc/soc-dai.c
@@ -393,7 +393,7 @@ void snd_soc_dai_action(struct snd_soc_dai *dai,
{
/* see snd_soc_dai_stream_active() */
dai->stream_active[stream] += action;
- dai->active += action;
+
/* see snd_soc_component_active() */
dai->component->active += action;
}