[alsa-devel] [PATCH V2 3/5] sound: asoc: Adding support for SPEAr13XX ASoC machine driver
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed Mar 30 01:32:20 CEST 2011
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
More information about the Alsa-devel
mailing list