From 8e1c59be7e759a7b9deb68b55f1bce871567ff56 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Thu, 8 Apr 2021 04:01:13 +0100 Subject: [PATCH] fix silly mistake in "v5.8: struct snd_soc_dai->active replaced by snd_soc_dai_active(snd_soc_dai)" --- ac101.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ac101.c b/ac101.c index be9b1d8..1452c57 100644 --- a/ac101.c +++ b/ac101.c @@ -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], snd_soc_dai_active(codec_dai)); - if (snd_soc_dai_active(codec_dai)) { + if (!snd_soc_dai_active(codec_dai)) { ac10x->aif1_clken = 1; ac101_aif1clk(codec, SND_SOC_DAPM_POST_PMD, 0); } else {