ASoC: Remove runtime field from DAI
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 6 May 2014 07:39:41 +0000 (09:39 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 21:08:36 +0000 (22:08 +0100)
This was initially removed in commit 6423c1875 ("ASoC: Remove runtime field from
DAI"), but was, presumably by accident, brought back in commit f0fba2ad1 ("ASoC:
multi-component - ASoC Multi-Component Support"). But has never been
initialized to anything but NULL ever since. This commit removes it again.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc-dai.h
sound/soc/soc-compress.c
sound/soc/soc-pcm.c

index e2c3e45d06560c732cf619ed851fec27824a0e3c..688f2ba8009fc0a713d716a0e1fc35b1ceb750f6 100644 (file)
@@ -252,7 +252,6 @@ struct snd_soc_dai {
        unsigned int symmetric_rates:1;
        unsigned int symmetric_channels:1;
        unsigned int symmetric_samplebits:1;
-       struct snd_pcm_runtime *runtime;
        unsigned int active;
        unsigned char probed:1;
 
index 91083e6a6b3814c37112f2bbd6996a68f0adb782..5320e8664a59f5ddb767092e134ea33af55594ca 100644 (file)
@@ -203,7 +203,6 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
 
        if (platform->driver->compr_ops && platform->driver->compr_ops->free)
                platform->driver->compr_ops->free(cstream);
-       cpu_dai->runtime = NULL;
 
        if (cstream->direction == SND_COMPRESS_PLAYBACK) {
                if (snd_soc_runtime_ignore_pmdown_time(rtd)) {
index 2cedf09f6d9613c7b34bb22888806fde598052c6..cc002522fd5e84976aba0016fa9261ca3b251163 100644 (file)
@@ -555,7 +555,6 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
 
        if (platform->driver->ops && platform->driver->ops->close)
                platform->driver->ops->close(substream);
-       cpu_dai->runtime = NULL;
 
        if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
                if (snd_soc_runtime_ignore_pmdown_time(rtd)) {