[alsa-devel] Disabling DAPM from ASoC framework

Santhosh N M santo4ul at gmail.com
Mon Apr 21 09:40:42 CEST 2014


 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


More information about the Alsa-devel mailing list