[alsa-devel] [PATCH v2] ASoC: mx27vis-aic32x4: Convert it to platform driver

Fabio Estevam festevam at gmail.com
Mon Mar 12 16:23:56 CET 2012

On 3/12/12, javier Martin <javier.martin at vista-silicon.com> wrote:
> I get the following error when testing your patch in linux-next  master:
> ASoC: Platform device allocation failed
> mx27vis mx27vis.0: snd_soc_register_card failed (-22)
> mx27vis: probe of mx27vis.0 failed with error -22
> ALSA device list:
>   No soundcards found.

Thanks for testing it. I missed one line.

Could you please add the following line:

mx27vis_aic32x4.dev = &pdev->dev;

prior to

ret = snd_soc_register_card(&mx27vis_aic32x4);

and let me know if it works?

Then I will submit a new version of the patch.


Fabio Estevam

More information about the Alsa-devel mailing list