Re: [PATCH v3 5/9] ASoC: soc-core: Add snd_soc_of_xlate_dai_name() generic helper
From: Kuninori Morimoto
Date: Tue Aug 25 2026 - 00:21:16 EST
Hi Harendra
Thank you for the patch
> Add snd_soc_of_xlate_dai_name() to soc-core.c as a generic helper
> that can be assigned directly to the .of_xlate_dai_name component
> driver callback. It iterates the component's DAI list using
> for_each_component_dais() and matches by DAI ID.
>
> Use the helper in lpass-cpu.c and qaif-cpu.c, and remove the local
> lpass implementation.
>
> Signed-off-by: Harendra Gautam <harendra.gautam@xxxxxxxxxxxxxxxx>
> ---
I think this patch want to be separated into 2 patches.
- add snd_soc_of_xlate_dai_name()
- switch to use it
It makes backport easy.
Thank you for your help !!
Best regards
---
Kuninori Morimoto