[alsa-devel] How to treat old style platform components
Daniel Baluta
daniel.baluta at gmail.com
Fri Jul 12 08:49:43 CEST 2019
On Fri, Jul 12, 2019 at 3:11 AM Kuninori Morimoto
<kuninori.morimoto.gx at renesas.com> wrote:
>
>
> 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 ?
>
Yes, thanks! With below patch everything works again.
> 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.
Thanks!!
More information about the Alsa-devel
mailing list