[PATCH stable-6.6 0/2] ASoC: codecs: wsa883x: fix pops and clicks

From: Johan Hovold
Date: Thu Nov 23 2023 - 04:48:37 EST


This is a backport of commits

0220575e65a ("ASoC: soc-dai: add flag to mute and unmute stream during trigger")
805ce81826c8 ("ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag")

which specifically fix a loud crackling noise when starting a stream on
the Lenovo ThinkPad X13s.

These backports should apply to any stable tree which already has commit
3efcb471f871 ("ASoC: soc-pcm.c: Make sure DAI parameters cleared if the
DAI becomes inactive") backported (e.g. 6.6.2 and 6.5.12).

Note that the interaction of these commits resulted in a bad merge in
mainline which is fixed up here:

https://lore.kernel.org/lkml/20231123091815.21933-1-johan+linaro@xxxxxxxxxx/

Johan


Srinivas Kandagatla (2):
ASoC: soc-dai: add flag to mute and unmute stream during trigger
ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag

include/sound/soc-dai.h | 1 +
sound/soc/codecs/wsa883x.c | 7 +------
sound/soc/soc-dai.c | 7 +++++++
sound/soc/soc-pcm.c | 12 ++++++++----
4 files changed, 17 insertions(+), 10 deletions(-)

--
2.41.0