Re: How to treat old style platform components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 12, 2019 at 3:11 AM Kuninori Morimoto
<kuninori.morimoto.gx@xxxxxxxxxxx> 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!!
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux