[alsa-devel] [PATCH] ASoC: core - Add support for DAI and machine kcontrols.

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Feb 3 21:46:40 CET 2012

On Fri, Feb 03, 2012 at 05:43:09PM +0000, Liam Girdwood wrote:

> 1) Use snd_soc_add_card_controls() where no direct codec control is required.
> 2) Use snd_soc_add_codec_controls() where there is direct codec control.

> In the case of 1) above we also update the machine drivers to get the correct
> component data pointers from the kcontrol (rather than getting the machine pointer
> via the codec pointer).

Hrm, I can't apply this right now as I don't have an appropriate system
to hand but what are the cases where there is CODEC control?  This
sounds suspicous, perhaps we need some of the drivers enhancing (though
no reason to block this patch).

More information about the Alsa-devel mailing list