|
@@ -112,10 +112,11 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
|
|
|
snd_soc_dapm_stream_event(rtd,
|
|
|
SNDRV_PCM_STREAM_PLAYBACK,
|
|
|
SND_SOC_DAPM_STREAM_STOP);
|
|
|
- } else
|
|
|
+ } else {
|
|
|
rtd->pop_wait = 1;
|
|
|
schedule_delayed_work(&rtd->delayed_work,
|
|
|
msecs_to_jiffies(rtd->pmdown_time));
|
|
|
+ }
|
|
|
} else {
|
|
|
/* capture streams can be powered down now */
|
|
|
snd_soc_dapm_stream_event(rtd,
|