[alsa-devel] Disabling DAPM from ASoC framework

Mark Brown broonie at kernel.org
Tue Apr 22 00:39:14 CEST 2014

On Mon, Apr 21, 2014 at 01:10:42PM +0530, Santhosh N M wrote:

>    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()

This isn't supported, it's mandatory to have DAPM support in drivers -
if there are no DAPM widgets it's likely things will break.  Why do you
not want to do power management?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140421/754b542b/attachment.sig>

More information about the Alsa-devel mailing list