[alsa-devel] [PATCH v1 4/5] ASoC: add mmp brownstone support
From: zhangfei gao <hidden>
Date: 2012-06-08 13:24:19
Also in:
alsa-devel
From: zhangfei gao <hidden>
Date: 2012-06-08 13:24:19
Also in:
alsa-devel
On Fri, Jun 8, 2012 at 6:13 AM, Mark Brown [off-list ref] wrote:
On Mon, Jun 04, 2012 at 02:37:30PM +0800, Zhangfei Gao wrote: One small thing here...quoted
+ ? ? 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.
Great, it will make it easier, thanks.
_______________________________________________ Alsa-devel mailing list Alsa-devel at alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel