30 Mar
2011
30 Mar
'11
1:32 a.m.
On Tue, Mar 29, 2011 at 04:47:01PM +0530, Rajeev Kumar wrote:
- /* Create and register platform device */
- evb_snd_device = platform_device_alloc("soc-audio", 0);
- if (!evb_snd_device) {
printk(KERN_ERR "platform_device_alloc fails\n");
return -ENOMEM;
- }
It's better to use snd_soc_register_card() rather than using the soc-audio device with current kernels