[alsa-devel] DAPM widgets beyond 2.6.38

Peter Hsiang Peter.Hsiang at maxim-ic.com
Fri Mar 25 03:47:40 CET 2011

1) In 2.6.38, after these 2 operations: 
  snd_soc_dapm_new_controls(dapm, dapm_widgets, ARRAY_SIZE(dapm_widgets));
  snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
Is it *always* necessary to call snd_soc_dapm_new_widgets(dapm)?  
I have seen one case where it was not called.

2) In 2.6.39, to do the same, is there any function to call other than the table entries?



More information about the Alsa-devel mailing list