[alsa-devel] [PATCH 05/19] ASoC: mrst_machine: enable user to select different output

Lu Guanqun guanqun.lu at intel.com
Thu May 5 02:34:07 CEST 2011


On Thu, May 05, 2011 at 12:22:32AM +0800, Mark Brown wrote:
> On Wed, May 04, 2011 at 09:45:19PM +0800, Lu Guanqun wrote:
> 
> > +	ret = snd_soc_add_controls(codec,
> > +				   mrst_snd_controls,
> > +				   ARRAY_SIZE(mrst_snd_controls));
> > +	if (ret)
> > +		return ret;
> > +
> 
> It'd be better to use the data based init stuff to add the controls.

OK. Will change that.

-- 
guanqun


More information about the Alsa-devel mailing list