fix silly mistake in "v5.8: struct snd_soc_dai->active replaced by snd_soc_dai_active(snd_soc_dai)"

This commit is contained in:
Hin-Tak Leung 2021-04-08 04:01:13 +01:00
parent f289f5586e
commit 8e1c59be7e

View file

@ -958,7 +958,7 @@ void ac101_aif_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai
codec_dai->stream_active[SNDRV_PCM_STREAM_PLAYBACK], codec_dai->stream_active[SNDRV_PCM_STREAM_CAPTURE], codec_dai->stream_active[SNDRV_PCM_STREAM_PLAYBACK], codec_dai->stream_active[SNDRV_PCM_STREAM_CAPTURE],
snd_soc_dai_active(codec_dai)); snd_soc_dai_active(codec_dai));
if (snd_soc_dai_active(codec_dai)) { if (!snd_soc_dai_active(codec_dai)) {
ac10x->aif1_clken = 1; ac10x->aif1_clken = 1;
ac101_aif1clk(codec, SND_SOC_DAPM_POST_PMD, 0); ac101_aif1clk(codec, SND_SOC_DAPM_POST_PMD, 0);
} else { } else {