summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-08-08 06:18:10 +0000
committerMark Brown <broonie@kernel.org>2017-08-10 16:39:48 +0100
commit90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e (patch)
tree12a3626aeaed3629553a6ceccac24a9be415daa0 /include/sound/soc.h
parenta0ac441152238c9b474bafa46940511d9b2e9c7e (diff)
downloadlinux-stable-90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e.tar.gz
linux-stable-90be711e23f7c7ee7b3d6a6e5aa7ee9bab321f2e.tar.bz2
linux-stable-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/soc.h')
-rw-r--r--include/sound/soc.h2
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;