11 Mar
2012
11 Mar
'12
4:43 p.m.
On Sun, Mar 11, 2012 at 11:53 AM, Fabio Estevam festevam@gmail.com wrote:
- if (!machine_is_imx27_visstrim_m10())
- return 0;
mx27vis_aic32x4_snd_device = platform_device_alloc("soc-audio", -1); if (!mx27vis_aic32x4_snd_device) return -ENOMEM;
Or maybe should I use snd_soc_register_card instead and get rid of the machine_is_xxx check?