[alsa-devel] DAPM widgets beyond 2.6.38
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?
Thanks,
Peter
On Thu, Mar 24, 2011 at 07:47:40PM -0700, Peter Hsiang wrote:
As ever always CC maintainers on mails if you want them to see them reliably.
- 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.
It's not actually required for CODEC drivers, the core will run it when probe finishes.
- In 2.6.39, to do the same, is there any function to call other than the table entries?
Not for the DAPM init.
participants (2)
-
Mark Brown
-
Peter Hsiang