Linux Sound subsystem development
 help / color / mirror / Atom feed
From: "Péter Ujfalusi" <peter.ujfalusi@linux.intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: Cezary Rojewski <cezary.rojewski@intel.com>,
	tiwai@suse.com, perex@perex.cz, amade@asmblr.net,
	kuninori.morimoto.gx@renesas.com, linux-sound@vger.kernel.org,
	"Liao, Bard" <bard.liao@intel.com>,
	"Vehmanen, Kai" <kai.vehmanen@intel.com>,
	Charles Keepax <ckeepax@opensource.cirrus.com>,
	Liam Girdwood <liam.r.girdwood@linux.intel.com>,
	Richard Fitzgerald <rf@opensource.cirrus.com>,
	Simon Trimmer <simont@opensource.cirrus.com>
Subject: Re: [PATCH] ASoC: core: Move all users to deferrable card binding
Date: Tue, 26 May 2026 08:45:48 +0300	[thread overview]
Message-ID: <1daaad8d-8aee-4911-a24b-26db8b694cfd@linux.intel.com> (raw)
In-Reply-To: <d82fa24d-18f9-461d-8535-3266cc92fbb9@sirena.org.uk>



On 25/05/2026 18:06, Mark Brown wrote:
> On Mon, May 25, 2026 at 03:48:36PM +0300, Péter Ujfalusi wrote:
>> On 22/05/2026 17:58, Mark Brown wrote:
>>> On Fri, May 22, 2026 at 04:32:03PM +0200, Cezary Rojewski wrote:
> 
>>>> The question on the table:  Do we revert the change temporarily, fix the SOF
>>>> first and then re-apply the patch again?
> 
>>> Given that there's two drivers we managed to turn up bugs in already I'm
>>> inclined to leave the patch there so it's more likely that any other
>>> issues get found.  It's a bit annoying for SOF CI but I guess a revert
>>> can be merged locally there?
> 
>> It is not really the SOF CI but the users. it looks like all codecs
>> using SDCA infra is affected and will fail to probe audio on boot.
> 
> Hang on, are you saying you don't test -next or my ASoC branches at all?

We sort of test -next audio stuff in daily bases, but this would have
not been caught if I did not happen to be debugging something on a PTL
system with Cirrus codecs, using SDCA infra.

We do approximately weekly merges of -next audio branches to our sof-dev
working tree, our pending patch deficit usually pretty shallow to allow
testing before sending them upstream (we have sof-dev-rebase branch as
well to see them cleanly).

> It sounded like this was the result of a merge with some out of tree
> stuff you have with Cezary's change but it sounds like you're saying
> there are issues independently of the merge.

No, it is not out of tree stuff, it is upstream stuff already in use for
SDCA proper codecs, but I think what really triggers this is
c5ae3d8bc968 ("ASoC: soc_sdw_utils: partial match the codec name")
which is in 7.1-rc1, so not next stuff either.

I think the issue boils down to the fact that we don't know the exact
name of the SDCA codec and DAI for the function before they have been
created, thus the sof_sdw machine relies on deferring to 'see' the names
they got.

I think Bard and Charles are the best persons to comment, but atm Cirrus
codecs are the ones pioneering the use of generic sdca codec class
driver with Realtek and TI preparing to enable it.

I also think that detaching from driver defer and use internal card
defer is a much better approach, but when majority of new PTL designs
will be broken with no patch in sight to prepare the SDCA class stack is
a regression.

Charles, Bard, Richard, Simon, any thoughts on this?

-- 
Péter


  reply	other threads:[~2026-05-26  5:45 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-30 14:07 [PATCH] ASoC: core: Move all users to deferrable card binding Cezary Rojewski
2026-05-11  1:06 ` Mark Brown
2026-05-11  1:34 ` Kuninori Morimoto
2026-05-12  8:14   ` Rojewski, Cezary
2026-05-20  9:55 ` Alexander Stein
2026-05-20 10:33   ` Cezary Rojewski
2026-05-21  6:42     ` Alexander Stein
2026-05-21  8:13       ` Cezary Rojewski
2026-05-21 10:11         ` Alexander Stein
2026-05-21 14:41           ` Cezary Rojewski
2026-05-21 14:47             ` Alexander Stein
2026-05-22 11:21             ` Alexander Stein
2026-05-22 10:16 ` Péter Ujfalusi
2026-05-22 14:32   ` Cezary Rojewski
2026-05-22 14:58     ` Mark Brown
2026-05-22 15:08       ` Cezary Rojewski
2026-05-25 12:48       ` Péter Ujfalusi
2026-05-25 15:06         ` Mark Brown
2026-05-26  5:45           ` Péter Ujfalusi [this message]
2026-05-26 11:21             ` Péter Ujfalusi
2026-05-26 11:28               ` Péter Ujfalusi
2026-05-26 16:02             ` Mark Brown
2026-05-27  5:22               ` Péter Ujfalusi
2026-05-27 10:35                 ` Mark Brown
2026-05-25 10:44     ` Pierre-Louis Bossart
2026-05-25 21:10       ` Cezary Rojewski

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=1daaad8d-8aee-4911-a24b-26db8b694cfd@linux.intel.com \
    --to=peter.ujfalusi@linux.intel.com \
    --cc=amade@asmblr.net \
    --cc=bard.liao@intel.com \
    --cc=broonie@kernel.org \
    --cc=cezary.rojewski@intel.com \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=kai.vehmanen@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=rf@opensource.cirrus.com \
    --cc=simont@opensource.cirrus.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox