Re: [PATCH RFC 19/23] ASoC: qcom: sc8280xp: allow using the sc8280xp card with lpass-cpu
From: Mark Brown
Date: Fri Nov 20 2026 - 10:36:25 EST
> Add the missing DAI ids and set the ops to allow using
> the sc8280xp card with lpass-cpu and keep the sm8650 sound
> card bindings working with either Audioreach or lpass-cpu
> interfaces.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> @@ -533,12 +540,11 @@ static void sc8280xp_add_be_ops(struct snd_soc_card *card)
> int i;
>
> for_each_card_prelinks(card, i, link) {
> - if (link->no_pcm == 1) {
> - link->init = sc8280xp_snd_init;
> - link->exit = sc8280xp_snd_exit;
> + link->init = sc8280xp_snd_init;
> + link->exit = sc8280xp_snd_exit;
> + link->ops = &sc8280xp_be_ops;
This now applies to everything for all cards, that feels like it needs a
lot of care?
--
Mark Brown <broonie@xxxxxxxxxx>