[alsa-devel] [PATCH v1 4/5] ASoC: add mmp brownstone support

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jun 8 00:13:26 CEST 2012


On Mon, Jun 04, 2012 at 02:37:30PM +0800, Zhangfei Gao wrote:

One small thing here...

> +	ret = snd_soc_add_card_controls(dapm->card, brownstone_dapm_control,
> +				   ARRAY_SIZE(brownstone_dapm_control));
> +	if (ret < 0)
> +		return ret;

You can just set these up with the controls member of the card struct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120608/bdcc3c68/attachment.sig 


More information about the Alsa-devel mailing list