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

This commit is contained in:
Hin-Tak Leung 2021-04-11 22:59:11 +01:00
parent 8b2094fc23
commit 3ba6aec5bb

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);