|
@@ -1866,8 +1866,10 @@ int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
if ((be->dpcm[stream].state != SND_SOC_DPCM_STATE_HW_FREE) &&
|
|
if ((be->dpcm[stream].state != SND_SOC_DPCM_STATE_HW_FREE) &&
|
|
- (be->dpcm[stream].state != SND_SOC_DPCM_STATE_OPEN))
|
|
|
|
- continue;
|
|
|
|
|
|
+ (be->dpcm[stream].state != SND_SOC_DPCM_STATE_OPEN)) {
|
|
|
|
+ soc_pcm_hw_free(be_substream);
|
|
|
|
+ be->dpcm[stream].state = SND_SOC_DPCM_STATE_HW_FREE;
|
|
|
|
+ }
|
|
|
|
|
|
dev_dbg(be->dev, "ASoC: close BE %s\n",
|
|
dev_dbg(be->dev, "ASoC: close BE %s\n",
|
|
be->dai_link->name);
|
|
be->dai_link->name);
|