All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Linux-ALSA <linux-sound@vger.kernel.org>,
	Lars-Peter <lars@metafoo.de>
Subject: Re: ASoC: soc-pcm2.c ?
Date: Wed, 04 Feb 2026 09:50:51 +0100	[thread overview]
Message-ID: <877bssopsk.wl-tiwai@suse.de> (raw)
In-Reply-To: <45fde0f3-39b3-414e-b866-bb445df369b0@sirena.org.uk>

On Tue, 03 Feb 2026 19:17:15 +0100,
Mark Brown wrote:
> 
> On Tue, Feb 03, 2026 at 06:07:00PM +0000, Liam Girdwood wrote:
> > On 2/3/26 06:27, Kuninori Morimoto wrote:
> 
> > > Whether having default volume or not should not mandatory, should be just
> > > option. We want to have flexible framework, like some board want to use same
> > > style as before (= setup full routing etc via amixer), and/or some board want
> > > to have default routing/volumes, etc.
> 
> > I think hiding any kcontrols or hard coding kcontrols that change audio
> > processing or routing will break all client use cases, yes this may be nice
> > on IoT where there is no sound server or userspace audio infra and very
> > simple audio is needed, but on client we need the soundserver e.g. Pipewire,
> > CRAS or audio HAL to configure and control the use case/policy.
> 
> Yeah, we need anything in this area to be some combination of opt in and
> focused more on trying to pick defaults so there's less need to write
> and distribute UCM configurations for trivial cases.  The things we can
> do safely for everyone are pretty limited, things like hiding controls
> that we know through routing to disconnected pins can never possibly be
> part of a valid path (I always wanted to do that...) for example.

That's a topic that has been discussed since many many years ago :)
Making all setups controllable via kconfig (that is user-space) is one
of key concepts in ASoC, but certainly that shows too much details to
anyone on the system.

Basically it should be relatively easy to implement a mechanism to
make kcontrols invisible, though; e.g. by introducing a new kcontrol
flag like SNDRV_CTL_ELEM_ACCESS_INVISIBLE, and some machine drivers or
codec drivers may set it up depending on the demands.
But justification to do that would become rather a bigger question.


thanks,

Takashi

  parent reply	other threads:[~2026-02-04  8:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-26  6:41 ASoC: soc-pcm2.c ? Kuninori Morimoto
2026-01-31 13:29 ` Mark Brown
2026-02-03  6:27   ` Kuninori Morimoto
2026-02-03 13:34     ` Pierre-Louis Bossart
2026-02-03 15:16       ` Mark Brown
2026-02-04  6:19         ` Kuninori Morimoto
2026-02-04 12:55           ` Mark Brown
2026-02-03 18:07     ` Liam Girdwood
2026-02-03 18:17       ` Mark Brown
2026-02-04  5:59         ` Kuninori Morimoto
2026-02-04  8:50         ` Takashi Iwai [this message]
2026-02-04 12:10           ` Mark Brown
2026-02-04 12:21             ` Takashi Iwai
2026-02-04 12:33               ` Jaroslav Kysela
2026-02-04 12:45                 ` Mark Brown
2026-02-03  7:45 ` Péter Ujfalusi
2026-02-03 10:11   ` Péter Ujfalusi
2026-02-04  7:28     ` Kuninori Morimoto
2026-02-04 13:07       ` Péter Ujfalusi
2026-02-03 16:18   ` Mark Brown
2026-02-04 10:18     ` Péter Ujfalusi
2026-02-04 12:39       ` 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=877bssopsk.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=broonie@kernel.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-sound@vger.kernel.org \
    /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.