diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-05-08 03:20:24 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-09 18:39:07 +0900 |
commit | 999f7f5af8eb7766f68d925a22bf296011abc84c (patch) | |
tree | 09a7c28a955807212259a646aa77f0b78bc284d7 /sound/soc/soc-pcm.c | |
parent | 11fb14f8c5b8f016ea0dae2237854331071cad42 (diff) | |
download | linux-next-999f7f5af8eb7766f68d925a22bf296011abc84c.tar.gz |
ASoC: remove Codec related code
Now no one is using Codec related code.
Let's remove all
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r-- | sound/soc/soc-pcm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 3f6375499102..87c9af2158d0 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -135,7 +135,6 @@ bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) { struct snd_soc_rtdcom_list *rtdcom; struct snd_soc_component *component; - int i; bool ignore = true; if (!rtd->pmdown_time || rtd->dai_link->ignore_pmdown_time) @@ -147,10 +146,6 @@ bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) ignore &= !component->driver->use_pmdown_time; } - /* this will be removed */ - for (i = 0; i < rtd->num_codecs; i++) - ignore &= rtd->codec_dais[i]->component->ignore_pmdown_time; - return ignore; } |