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:
parent
484c03d4c8
commit
50ba0b5ddd
1 changed files with 1 additions and 1 deletions
2
ac101.c
2
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 {
|
||||
|
|
Loading…
Reference in a new issue