ASoC: soc-dai: add snd_soc_dai_resume()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:34:43 +0000 (10:34 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:22 +0000 (18:14 +0100)
commit24b09d051164680f0a1d1910efe21ce36ad5c1ca
tree51fcbbd76d9c3b8ca61a6109ddf0dba023b3585d
parente0f2262292d0c8160cfd9a8c40425107fb65ab29
ASoC: soc-dai: add snd_soc_dai_resume()

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

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