mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Cc: Maciej Strozek <mstrozek@opensource.cirrus.com>,
	Bard Liao <yung-chuan.liao@linux.intel.com>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	linux-sound@vger.kernel.org, patches@opensource.cirrus.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: SDCA: push port+cluster caps into DAI driver properties
Date: Mon, 30 Nov 2026 15:32:15 +0000	[thread overview]
Message-ID: <aw2W/2/bGC60CdFG@opensource.cirrus.com> (raw)
In-Reply-To: <aw2Uew7C7hJe/ULL@opensource.cirrus.com>

On Mon, Nov 30, 2026 at 03:21:31PM +0000, Charles Keepax wrote:
> On Mon, Nov 30, 2026 at 12:17:02PM +0000, Srinivas Kandagatla wrote:
> > @@ -441,6 +428,11 @@ static int class_function_probe(struct auxiliary_device *auxdev,
> >  	if (ret)
> >  		goto err_pm;
> >  
> > +	ret = sdca_asoc_narrow_dai_caps(dev, core->sdw, drv->regmap,
> > +					drv->function, dais, num_dais);
> > +	if (ret)
> > +		goto err_pm;
> > +
> 
> Hmm... I think there is a bit of a problem here, I might have
> missed in my initial look. We can't really assume that the
> port assigned is fixed and available at probe.

I am kinda wondering if just going with your initial approach but
with the addition of a FIXME is maybe the way to go here. I think
there are quite big problems to solve here and from our side we
only really needed the port constraints for the bit depths, so
losing the channel stuff isn't a deal breaker.

Thanks,
Charles

      reply	other threads:[~2026-11-30 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 12:17 Srinivas Kandagatla
2026-11-30 14:35 ` Mark Brown
2026-11-30 15:21 ` Charles Keepax
2026-11-30 15:32   ` Charles Keepax [this message]

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=aw2W/2/bGC60CdFG@opensource.cirrus.com \
    --to=ckeepax@opensource.cirrus.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mstrozek@opensource.cirrus.com \
    --cc=patches@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=srinivas.kandagatla@oss.qualcomm.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®