Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68631709 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: soc-pcm: Fix playback shutdown sequence"

parents 40f74202 fa452bdc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2142,14 +2142,14 @@ static int dpcm_fe_dai_shutdown(struct snd_pcm_substream *substream)

	dpcm_set_fe_update_state(fe, stream, SND_SOC_DPCM_UPDATE_FE);

	/* shutdown the BEs */
	dpcm_be_dai_shutdown(fe, substream->stream);

	dev_dbg(fe->dev, "ASoC: close FE %s\n", fe->dai_link->name);

	/* now shutdown the frontend */
	soc_pcm_close(substream);

	/* shutdown the BEs */
	dpcm_be_dai_shutdown(fe, substream->stream);

	/* run the stream event for each BE */
	dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP);