summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/nau8821.c
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2022-02-23 12:49:32 +0530
committerMark Brown <broonie@kernel.org>2022-02-24 02:04:27 +0000
commitaa9753a4677d0a2c53e7e46ca173c985a3f7b83e (patch)
tree0c4e71b33c1f2096848fc7d4327d218b82af276d /sound/soc/codecs/nau8821.c
parent5ca4cf2c83dac27768f1d7d3e2404f5a17830ca5 (diff)
downloadlinux-aa9753a4677d0a2c53e7e46ca173c985a3f7b83e.tar.bz2
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 <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/20220223071959.13539-3-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/nau8821.c')
-rw-r--r--sound/soc/codecs/nau8821.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/nau8821.c b/sound/soc/codecs/nau8821.c
index 2de818377484..d67dc27890a9 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