ASoC: soc-dai: add snd_soc_dai_compress_new()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:35:29 +0000 (10:35 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:25 +0000 (18:14 +0100)
commitb423c4202135f7794e0a9c55a884f5933d8e7156
treebc924b66372f8479638949e6760c70d69a877235
parentdcdab5820edd6123911dbd767ee1e389008b6a83
ASoC: soc-dai: add snd_soc_dai_compress_new()

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

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