]> 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)
commit0ac23293e9263540de95c3001199205af836d2c5
treed319de984d16ad47534e0ba614ae9d5c71841c17
parent4a532612d61e5200efb87a2ce277587e282d42d6
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