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

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_startup() and use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87wogahn4i.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-dapm.c
sound/soc/soc-pcm.c