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

Mark Brown broonie at opensource.wolfsonmicro.com
Wed May 4 18:22:32 CEST 2011


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.


More information about the Alsa-devel mailing list