Re: [PATCH RFC 19/23] ASoC: qcom: sc8280xp: allow using the sc8280xp card with lpass-cpu

From: Neil Armstrong

Date: Fri Nov 20 2026 - 11:36:31 EST


On 11/20/26 16:36, Mark Brown wrote:
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?


Yes I need to figure out how to handle that, I hope I can use the same
card driver for both use-cases...

Neil