From: Vijendar Mukunda Date: Wed, 23 Feb 2022 07:19:32 +0000 (+0530) Subject: ASoC: nau8821: enable no_capture_mute flag X-Git-Tag: v5.18-rc1~152^2~14^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa9753a4677d0a2c53e7e46ca173c985a3f7b83e;p=thirdparty%2Fkernel%2Flinux.git ASoC: nau8821: enable no_capture_mute flag Enable no_capture_mute_flag in nau8821 codec driver. This will fix active playback stream mute issue when capture stream got closed. Signed-off-by: Vijendar Mukunda Link: https://lore.kernel.org/r/20220223071959.13539-3-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/nau8821.c b/sound/soc/codecs/nau8821.c index 2de8183774840..d67dc27890a92 100644 --- a/sound/soc/codecs/nau8821.c +++ b/sound/soc/codecs/nau8821.c @@ -814,6 +814,7 @@ static const struct snd_soc_dai_ops nau8821_dai_ops = { .hw_params = nau8821_hw_params, .set_fmt = nau8821_set_dai_fmt, .mute_stream = nau8821_digital_mute, + .no_capture_mute = 1, }; #define NAU8821_RATES SNDRV_PCM_RATE_8000_192000