30 Mar
2011
30 Mar
'11
6:55 a.m.
Hi Mark
On 3/30/2011 5:02 AM, Mark Brown wrote:
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
This patch set has been compiled and tested for Linux-kernel-version 2.6.38,since SPEAr patch is already under review in russel king branch. Once it is ported I will circulate the next patch set containing these specific changes.
Best Rgds Rajeev