[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231027105747.32450-1-srinivas.kandagatla@linaro.org>
Date: Fri, 27 Oct 2023 11:57:45 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: broonie@...nel.org
Cc: johan@...nel.org, perex@...ex.cz, tiwai@...e.com,
lgirdwood@...il.com, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [RFC PATCH 0/2] ASoC: soc-dai: add flag to mute and unmute stream during trigger.
Click/Pop Noise was a long pending issue with WSA Codecs which are prone
to accumlate DC when ports are active but without any data streams.
There are multiple places in the current setup, where this could happen
in both startup as well as shutdown path.
This patchset adds a new flag mute_unmute_on_trigger to dai_ops to let
generic code do the mute/unmute on trigger.
This patches help fix those issues by making sure the PA is Muted/Unmuted
inline with the stream start/stop events.
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.21.0
Powered by blists - more mailing lists