OSDN Git Service

ASoC: use snd_soc_rtdcom_add() and convert to consistent operation
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 8 Aug 2017 06:18:10 +0000 (06:18 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 10 Aug 2017 15:39:48 +0000 (16:39 +0100)
commit90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e
tree12a3626aeaed3629553a6ceccac24a9be415daa0
parenta0ac441152238c9b474bafa46940511d9b2e9c7e
ASoC: use snd_soc_rtdcom_add() and convert to consistent operation

Basically, current ALSA SoC framework is based on CPU/Codec/Platform,
but its operation doesn't have consistent.
Thus, source code was unreadable, and difficult to understand.
This patch connects each component (= CPU/Codec/Platform) to rtd by
using snd_soc_rtdcom_add(), and convert uneven operations to consistent
operation.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-pcm.c