diff options
author | Kuninori Morimoto | 2017-08-08 08:18:10 +0200 |
---|---|---|
committer | Mark Brown | 2017-08-10 17:39:48 +0200 |
commit | 90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e (patch) | |
tree | 12a3626aeaed3629553a6ceccac24a9be415daa0 /include/sound | |
parent | ASoC: soc-core: add snd_soc_rtdcom_xxx() (diff) | |
download | kernel-qcow2-linux-90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e.tar.gz kernel-qcow2-linux-90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e.tar.xz kernel-qcow2-linux-90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 87dbe39797ca..82e078151787 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1237,7 +1237,7 @@ struct snd_soc_pcm_runtime { struct snd_pcm *pcm; struct snd_compr *compr; struct snd_soc_codec *codec; - struct snd_soc_platform *platform; + struct snd_soc_platform *platform; /* will be removed */ struct snd_soc_dai *codec_dai; struct snd_soc_dai *cpu_dai; |