[alsa-devel] [PATCH 01/12] ASoC: Create codec DAPM widgets before calling the codecs probe function

Mark Brown broonie at opensource.wolfsonmicro.com
Sat May 7 20:21:15 CEST 2011

On Sat, May 07, 2011 at 07:11:00PM +0100, Liam Girdwood wrote:

> These look all OK but I'm not fully following your commit message above
> with moving the call to snd_soc_dapm_new_controls() below. Could you
> explain why moving the call fixes your issue.

It means the widgets are present before the codec initialisation
callbacks get run so the callbacks can use them if they wish to.

More information about the Alsa-devel mailing list