[alsa-devel] How to treat old style platform components

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Fri Jul 12 02:11:42 CEST 2019


Hi Daniel

Thank you for contacting me

> static struct snd_soc_component_driver imx_soc_platform = {
> .ops»   »       = &imx_pcm_ops,
>  .pcm_new»       = imx_pcm_new,
> };
> 
> Then somewhere in the DAI driver we call:
> 
> devm_snd_soc_register_component(dev, &imx_soc_platform, NULL, 0);
> 
> I'm using simple-card with the following configuration:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/arch/arm64/boot/dts/freescale/imx8mm-evk.dts#n41
>
> After latest changes it seems that imx_pcm_ops->open() function is no
> longer called.

Quick question
above "imx_soc_platform" and DT's "sai3" are implemented at same driver ?

If so, I guess your kernel doesn't have this commit ?
If not, please include it.

	9f3eb917534511f2e275b7cf63ed76374ade77bc
	("ASoC: simple-card-utils: consider CPU-Platform possibility")

Sorry to bother you.

Thank you for your help !!
Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list