ASoC: codecs: ES8326: fix the capture noise issue
authorZhu Ning <zhuning0077@gmail.com>
Sat, 20 Jan 2024 10:12:40 +0000 (18:12 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jan 2024 15:28:56 +0000 (15:28 +0000)
commit8c99a0a607b5e0cf6b79b283d7bb2c2b84e01da5
tree2bad4637ad5f855c3ae01421f16d1c38f0b70c5c
parenta3aa9255d6ccb1bff13c7c98e5d3bf10ba67f92e
ASoC: codecs: ES8326: fix the capture noise issue

We get a noise issue during the startup of recording. We update the
register setting and dapm widgets to fix this issue.
we change callback type of es8326_mute function to mute_stream.
ES8326_ADC_MUTE is moved to es8326_mute function so it can
be turned on at last and turned off at first.

Signed-off-by: Zhu Ning <zhuning0077@gmail.com>
Link: https://msgid.link/r/20240120101240.12496-6-zhuning0077@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c