]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70f6bda8316e00adc95ea458e9b4ea7afed967bc
treef4eb1016993d36b6410a1d1fd1f241d9319b7812
parentb41b1c94ecc3a2c0b832ea079cdceeb42c3c6cf1
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