]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dai: add snd_soc_dai_remove()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:35:05 +0000 (10:35 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:24 +0000 (18:14 +0100)
commite11a5190853479b1a8dbb50f436b917d1710cad9
tree5846d8d45d3e8f0af0f7131be0763a9c06736d4f
parentdf1ec8171cb66cbd8979e72ed75f91aeb758660f
ASoC: soc-dai: add snd_soc_dai_remove()

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

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