Re: [PATCH v3 5/9] ASoC: soc-core: Add snd_soc_of_xlate_dai_name() generic helper

Kuninori Morimoto <[email protected]>
Newsgroups gmane.linux.sound,gmane.linux.ports.arm.msm,gmane.linux.drivers.devicetree,gmane.linux.kernel
Message-ID <[email protected]>
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 <[email protected]>
> ---

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.