All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Bard Liao <yung-chuan.liao@linux.intel.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	<linux-sound@vger.kernel.org>, Mark Brown <broonie@kernel.org>,
	Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
	Takashi Iwai <tiwai@suse.com>
Subject: Re: [PATCH 0/5] ASoC: intel: use component_name for Component name
Date: Fri, 26 Jun 2026 10:49:28 +0200	[thread overview]
Message-ID: <d5e3fc22-8a17-4672-ba5f-167d8cab2aa8@intel.com> (raw)
In-Reply-To: <87fr29esth.wl-kuninori.morimoto.gx@renesas.com>

On 6/26/2026 8:09 AM, Kuninori Morimoto wrote:
> Hi Mark, Intel developer
> 
> Current component has component->name, but we can't setup it via
> component_driver today, so the user need to use
> snd_soc_component_initialize() / snd_soc_add_component() directly
> instead of using snd_soc_register_component().
> 
> This patch-set try to solve root cause of this issue

Hi Kuninori,

Does this mean you have a patchset or two that follow this one up? 
Looking at this one alone, I'm not seeing why both ->driver_name and 
->component_name are added.

The driver is supposed to define _behavior_ of the entity it _drives_. 
Component's name is (typically) a static part of its description, not 
its runtime behavior.  To keep the design nice and clean shouldn't we 
leave driver->name and component->name alone?


Kind regards,
Czarek


> Kuninori Morimoto (5):
>    ASoC: soc-component: add driver_name
>    ASoC: soc-component: add component_name
>    ASoC: intel: avs: pcm: use component_name for Component name
>    ASoC: intel: avs: probes: use component_name for Component name
>    ASoC: intel: catpt: pcm: use component_name for Component name
> 
>   include/sound/soc-component.h |  6 +++++-
>   sound/soc/intel/avs/pcm.c     |  4 ++--
>   sound/soc/intel/avs/probes.c  | 27 ++++++++++-----------------
>   sound/soc/intel/catpt/pcm.c   | 20 ++++----------------
>   sound/soc/soc-core.c          | 11 ++++++-----
>   5 files changed, 27 insertions(+), 41 deletions(-)
> 


  parent reply	other threads:[~2026-06-26  8:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-26  6:09 [PATCH 0/5] ASoC: intel: use component_name for Component name Kuninori Morimoto
2026-06-26  6:09 ` [PATCH 1/5] ASoC: soc-component: add driver_name Kuninori Morimoto
2026-06-26  6:09 ` [PATCH 2/5] ASoC: soc-component: add component_name Kuninori Morimoto
2026-06-30 13:10   ` Mark Brown
2026-06-30 23:53     ` Kuninori Morimoto
2026-06-26  6:10 ` [PATCH 3/5] ASoC: intel: avs: pcm: use component_name for Component name Kuninori Morimoto
2026-07-01 10:08   ` Cezary Rojewski
2026-07-01 23:13     ` Kuninori Morimoto
2026-06-26  6:10 ` [PATCH 4/5] ASoC: intel: avs: probes: " Kuninori Morimoto
2026-06-26  6:10 ` [PATCH 5/5] ASoC: intel: catpt: pcm: " Kuninori Morimoto
2026-06-26  8:49 ` Cezary Rojewski [this message]
2026-06-28 23:35   ` [PATCH 0/5] ASoC: intel: " Kuninori Morimoto
2026-06-30 19:51     ` Cezary Rojewski
2026-06-30 22:49       ` Kuninori Morimoto
2026-07-01  9:35         ` Cezary Rojewski
2026-07-01 22:51           ` Kuninori Morimoto
2026-07-02  5:41             ` Kuninori Morimoto
2026-07-02 19:16               ` Cezary Rojewski
2026-07-02 23:54                 ` Kuninori Morimoto
2026-07-03  8:16                   ` Cezary Rojewski
2026-07-06  0:06                     ` Kuninori Morimoto

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=d5e3fc22-8a17-4672-ba5f-167d8cab2aa8@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=broonie@kernel.org \
    --cc=kai.vehmanen@linux.intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=tiwai@suse.com \
    --cc=yung-chuan.liao@linux.intel.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.