]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitcfd9b5fbfe1e8763018aea2600aa0d6ff015ebfc
tree8443edc9b30689e87fa8d9cfbff2d5a103094ff8
parent24b09d051164680f0a1d1910efe21ce36ad5c1ca
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