]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dai: add snd_soc_dai_trigger()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:33:51 +0000 (10:33 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:19 +0000 (18:14 +0100)
commite463fd9f4dcdbecad53e9a9f3c8587f0dd456e52
tree5642f5d8cecc3660a3265c5fada5220e7614311e
parent5a1f493087f830a9402b4f72f43d262e90609844
ASoC: soc-dai: add snd_soc_dai_trigger()

Current ALSA SoC is directly using dai->driver->ops->xxx,
thus, it has deep nested bracket, and it makes code unreadable.
This patch adds new snd_soc_dai_trigger() and use it.

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