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

zhangfei gao zhangfei.gao at gmail.com
Fri Jun 8 15:24:19 CEST 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
>
--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Alsa-devel mailing list