]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: replace snd_soc_runtime_activate()/deactivate() to macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 15 May 2020 00:46:21 +0000 (09:46 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 18 May 2020 15:14:58 +0000 (16:14 +0100)
commitd9051d86ad30ca1ef1fc99e29854daeeb3944f8f
treed319de984d16ad47534e0ba614ae9d5c71841c17
parentd731c1a0f935dbebf4a851e072f8c7309eb2b8c5
ASoC: soc-pcm: replace snd_soc_runtime_activate()/deactivate() to macro

snd_soc_runtime_activate()/deactivate() are implemented by global function
which are just calling snd_soc_runtime_action().
We can replace it to macro, and this patch do it.
This patch is prepare for xxx_active cleanup.

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/87blmq6n4y.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-pcm.c