1: don't call snd_soc_dapm_new_controls() snd_soc_dapm_add_routes() in your codec driver 2: don't set "static struct snd_soc_codec_driver{}" .dapm_widgets .dapm_routes
2014-04-21 15:40 GMT+08:00 Santhosh N M santo4ul@gmail.com:
Hi,
I'm a newbie to ALSA/ASoC framework. Lets say there is a requirement, where, the application (user space) takes the responsibility to switch ON/OFF the power components of the codec components (using ALSA Mixer Interface).
In this case, is there a standard way to disable DAPM from ASoC? One way I see (and found to be working) is setting num_dapm_widgets=0 and num_dapm_routes=0 before invoking snd_soc_register_codec()
Thanks in advance for your help.
Best Regards, San _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel