[alsa-devel] [PATCH V2 3/5] sound: asoc: Adding support for SPEAr13XX ASoC machine driver

rajeev rajeev-dlh.kumar at st.com
Wed Mar 30 06:55:07 CEST 2011


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

 



More information about the Alsa-devel mailing list