Re: [PATCH] ASoC: SDCA: push port+cluster caps into DAI driver properties

From: Charles Keepax

Date: Mon Nov 30 2026 - 10:30:32 EST


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.

Thanks,
Charles