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

zhangfei gao zhangfei.gao at gmail.com
Fri Jun 8 09:24:19 EDT 2012


On Fri, Jun 8, 2012 at 6:13 AM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> 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.

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
>



More information about the linux-arm-kernel mailing list