]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dai: add snd_soc_dai_probe()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:34:56 +0000 (10:34 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:23 +0000 (18:14 +0100)
commitb41597f7556ac44603fa0cdbc7f441bfec573204
tree8443edc9b30689e87fa8d9cfbff2d5a103094ff8
parentf13c810f867e615bcd4735f7822a2c3aa02c0457
ASoC: soc-dai: add snd_soc_dai_probe()

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

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