From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: Mark Brown <broonie@kernel.org>
Cc: Rafael Diniz <rafael@riseup.net>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
patches@opensource.cirrus.com, linux-sound@vger.kernel.org
Subject: Re: [PATCH v3 1/2] ASoC: wm8731: activate the interface after the converters, before the outputs
Date: Mon, 30 Nov 2026 17:37:28 +0000 [thread overview]
Message-ID: <aw20WPpJ7P8Ew0AY@opensource.cirrus.com> (raw)
In-Reply-To: <a0cfee28-a634-4f02-8c4b-ee66fdc04471@sirena.org.uk>
On Mon, Nov 30, 2026 at 05:26:47PM +0000, Mark Brown wrote:
> On Mon, Nov 30, 2026 at 05:14:32PM +0000, Charles Keepax wrote:
> > On Mon, Nov 30, 2026 at 04:54:42PM +0000, Mark Brown wrote:
>
> > > This means we'll always power both the ADC and DAC, even if only one is
> > > in use. I'm not sure any of the users of this device are likely to be
> > > super power sensitive, but it's possible.
>
> > Can we do better than that though? From user-space they are
> > separate capture and playback files, so whatever one is opened
> > second will find the hardware in an already powered state.
> > Assuming the problem is as described the only other alternative
> > would be to glitch the already open stream whilst the other
> > powers up, which seems worse than increased power draw.
>
> It does rather depend if people routinely do simultaneous playback and
> capture in the first place, and for capture you'll might find the glitch
> happens before the CPU starts paying attention to the incoming data.
That is fair, I do somewhat imagine the primary user-case could
be playback heavy here. I guess we can do a setup that glitches
the active stream turning active on and off and see if anyone
complains.
Thanks,
Charles
next prev parent reply other threads:[~2026-11-30 17:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 9:23 [PATCH v3 0/2] ASoC: wm8731: interface activation order Rafael Diniz
2026-11-28 9:23 ` [PATCH v3 1/2] ASoC: wm8731: activate the interface after the converters, before the outputs Rafael Diniz
2026-11-30 10:28 ` Charles Keepax
2026-11-30 19:37 ` Rafael Diniz
2026-11-30 16:54 ` Mark Brown
2026-11-30 17:14 ` Charles Keepax
2026-11-30 17:26 ` Mark Brown
2026-11-30 17:37 ` Charles Keepax [this message]
2026-11-30 19:37 ` Rafael Diniz
2026-11-28 9:23 ` [PATCH v3 2/2] ASoC: wm8731: use one sample width for both directions Rafael Diniz
2026-11-30 10:03 ` Charles Keepax
2026-11-30 16:58 ` (subset) [PATCH v3 0/2] ASoC: wm8731: interface activation order Mark Brown
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=aw20WPpJ7P8Ew0AY@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=rafael@riseup.net \
--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.