From: Sebastian Reichel <sre@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: codecs: wsa884x: Add mute control knob
Date: Sat, 17 Oct 2026 21:41:11 +0200 [thread overview]
Message-ID: <atPNXkTPuAorOPLj@venus> (raw)
In-Reply-To: <60cd552f-1de0-4304-8e84-bb307cdea45f@sirena.org.uk>
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Hello Mark,
On Thu, Oct 15, 2026 at 06:54:52PM +0100, Mark Brown wrote:
> On Wed, Oct 14, 2026 at 07:02:54PM +0200, Sebastian Reichel wrote:
> > This codec is typically used with ALSA UCM, which right now falls back
> > to handling mute in software. Expose proper hardware mute control
> > considering the driver already handles it internally anyways, which
> > allows UCM to bind speaker mute LED to the new control knob.
>
> The reason we have the mute control in stream startup is to mask
> glitches caused by the hardware during startup, for example clocking
> random things out of FIFOs. Are we sure that this isn't an issue?
I guessed that part. My change should leave it working as the
user requested mute is OR'd in. So during stream startup with the
user mute control 'unmuted' nothing should change. With the user
mute control in 'mute' state it will stay muted during stream
startup (so no glitch possible IIUIC).
The only potential issue I see is toggling the user control while
the stream is already running. I don't have documentation for this
chip, but I'm running a kernel with this patch on my T14s Gen6
Snapdragon for a few days now and didn't notice any issues.
Greetings,
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-10-17 19:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 17:02 [PATCH] ASoC: codecs: wsa884x: Add mute control knob Sebastian Reichel
2026-10-15 17:54 ` Mark Brown
2026-10-17 19:41 ` Sebastian Reichel [this message]
2026-10-15 18:10 ` Mark Brown
2026-10-17 19:45 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=atPNXkTPuAorOPLj@venus \
--to=sre@kernel.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=srini@kernel.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.