adjust v5.4 backport patch to "fix silly mistake in "v5.8: ...""

This commit is contained in:
Hin-Tak Leung 2021-04-08 18:07:20 +01:00
parent 8e1c59be7e
commit c84b644247

View file

@ -11,7 +11,7 @@ index be9b1d8..343f030 100644
+ codec_dai->playback_active, codec_dai->capture_active,
+ codec_dai->active);
- if (snd_soc_dai_active(codec_dai)) {
- if (!snd_soc_dai_active(codec_dai)) {
+ if (!codec_dai->active) {
ac10x->aif1_clken = 1;
ac101_aif1clk(codec, SND_SOC_DAPM_POST_PMD, 0);