ASoC: soc-component: add snd_soc_component_is_suspended()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 26 Jul 2019 04:51:13 +0000 (13:51 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 5 Aug 2019 15:21:17 +0000 (16:21 +0100)
commite40fadbcef583808c11d2e86b8ac1c652731468e
treef4eb1016993d36b6410a1d1fd1f241d9319b7812
parent9a840cbac77a90e8406296aaa132ebf2c84ed9e3
ASoC: soc-component: add snd_soc_component_is_suspended()

Current ALSA SoC is directly using component->xxx,
But, it is not good for encapsulation.
This patch adds new snd_soc_component_is_suspended() and use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/874l395rlx.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/soc-component.c
sound/soc/soc-core.c