[alsa-devel] [PATCH v2] ASoC: mx27vis-aic32x4: Convert it to platform driver
javier.martin at vista-silicon.com
Mon Mar 12 16:43:14 CET 2012
On 12 March 2012 16:23, Fabio Estevam <festevam at gmail.com> wrote:
> 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
Yeah, that works.
Tested-by: Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
More information about the Alsa-devel