diff options
Diffstat (limited to 'sound/soc/soc-compress.c')
-rw-r--r-- | sound/soc/soc-compress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 91083e6a6b38..10f7f1da2aca 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c | |||
@@ -203,7 +203,6 @@ static int soc_compr_free(struct snd_compr_stream *cstream) | |||
203 | 203 | ||
204 | if (platform->driver->compr_ops && platform->driver->compr_ops->free) | 204 | if (platform->driver->compr_ops && platform->driver->compr_ops->free) |
205 | platform->driver->compr_ops->free(cstream); | 205 | platform->driver->compr_ops->free(cstream); |
206 | cpu_dai->runtime = NULL; | ||
207 | 206 | ||
208 | if (cstream->direction == SND_COMPRESS_PLAYBACK) { | 207 | if (cstream->direction == SND_COMPRESS_PLAYBACK) { |
209 | if (snd_soc_runtime_ignore_pmdown_time(rtd)) { | 208 | if (snd_soc_runtime_ignore_pmdown_time(rtd)) { |
@@ -317,8 +316,9 @@ static int soc_compr_trigger_fe(struct snd_compr_stream *cstream, int cmd) | |||
317 | cmd == SND_COMPR_TRIGGER_DRAIN) { | 316 | cmd == SND_COMPR_TRIGGER_DRAIN) { |
318 | 317 | ||
319 | if (platform->driver->compr_ops && | 318 | if (platform->driver->compr_ops && |
320 | platform->driver->compr_ops->trigger) | 319 | platform->driver->compr_ops->trigger) |
321 | return platform->driver->compr_ops->trigger(cstream, cmd); | 320 | return platform->driver->compr_ops->trigger(cstream, |
321 | cmd); | ||
322 | } | 322 | } |
323 | 323 | ||
324 | if (cstream->direction == SND_COMPRESS_PLAYBACK) | 324 | if (cstream->direction == SND_COMPRESS_PLAYBACK) |